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

InvalidRedirectDestination.message() — astro Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/astro/src/core/errors/errors-data.ts lines 1016–1017

	message: (from: string, to: string) =>
		`The redirect from "${from}" to "${to}" is invalid. The destination "${to}" does not match any existing route in your project.`,

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free