Home / Function/ GetStaticPathsInvalidRouteParam.message() — astro Function Reference

GetStaticPathsInvalidRouteParam.message() — astro Function Reference

Architecture documentation for the GetStaticPathsInvalidRouteParam.message() function in errors-data.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  798a02a3_fc80_8e7a_691c_08e4a03f57e5["GetStaticPathsInvalidRouteParam.message()"]
  0e25cce4_bb3d_83b8_da61_b3d3cc567b74["errors-data.ts"]
  798a02a3_fc80_8e7a_691c_08e4a03f57e5 -->|defined in| 0e25cce4_bb3d_83b8_da61_b3d3cc567b74
  style 798a02a3_fc80_8e7a_691c_08e4a03f57e5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/errors/errors-data.ts lines 352–353

	message: (key: string, value: any, valueType: string) =>
		`Invalid \`getStaticPaths()\` route parameter for \`${key}\`. Expected a string or undefined, received \`${valueType}\` (\`${value}\`)`,

Domain

Subdomains

Frequently Asked Questions

What does GetStaticPathsInvalidRouteParam.message() do?
GetStaticPathsInvalidRouteParam.message() is a function in the astro codebase, defined in packages/astro/src/core/errors/errors-data.ts.
Where is GetStaticPathsInvalidRouteParam.message() defined?
GetStaticPathsInvalidRouteParam.message() is defined in packages/astro/src/core/errors/errors-data.ts at line 352.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free