isYAMLException() — astro Function Reference
Architecture documentation for the isYAMLException() function in utils.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 21221bb4_821f_b08c_1c50_b7975b89115b["isYAMLException()"] a37e7fee_e130_2a00_6f99_81cf3cf65c83["utils.ts"] 21221bb4_821f_b08c_1c50_b7975b89115b -->|defined in| a37e7fee_e130_2a00_6f99_81cf3cf65c83 style 21221bb4_821f_b08c_1c50_b7975b89115b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/errors/utils.ts lines 75–77
export function isYAMLException(err: unknown): err is YAMLException {
return err instanceof Error && err.name === 'YAMLException';
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does isYAMLException() do?
isYAMLException() is a function in the astro codebase, defined in packages/astro/src/core/errors/utils.ts.
Where is isYAMLException() defined?
isYAMLException() is defined in packages/astro/src/core/errors/utils.ts at line 75.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free