UnavailableAstroGlobal.message() — astro Function Reference
Architecture documentation for the UnavailableAstroGlobal.message() function in errors-data.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD c57aa671_df2e_1b1d_83b6_ed1252040033["UnavailableAstroGlobal.message()"] 0e25cce4_bb3d_83b8_da61_b3d3cc567b74["errors-data.ts"] c57aa671_df2e_1b1d_83b6_ed1252040033 -->|defined in| 0e25cce4_bb3d_83b8_da61_b3d3cc567b74 style c57aa671_df2e_1b1d_83b6_ed1252040033 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/errors/errors-data.ts lines 1416–1417
message: (name: string) =>
`The Astro global is not available in this scope. Please remove "Astro.${name}" from your getStaticPaths() function.`,
Domain
Subdomains
Source
Frequently Asked Questions
What does UnavailableAstroGlobal.message() do?
UnavailableAstroGlobal.message() is a function in the astro codebase, defined in packages/astro/src/core/errors/errors-data.ts.
Where is UnavailableAstroGlobal.message() defined?
UnavailableAstroGlobal.message() is defined in packages/astro/src/core/errors/errors-data.ts at line 1416.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free