CompilerError Class — astro Architecture
Architecture documentation for the CompilerError class in errors.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD a576e350_6e45_8af7_d27a_0380c93272fd["CompilerError"] 6040eeed_628d_7649_3de3_370870542dad["errors.ts"] a576e350_6e45_8af7_d27a_0380c93272fd -->|defined in| 6040eeed_628d_7649_3de3_370870542dad d2e8002a_5820_b195_5e84_7e84fc089e35["constructor()"] a576e350_6e45_8af7_d27a_0380c93272fd -->|method| d2e8002a_5820_b195_5e84_7e84fc089e35 3d3cd1dd_4d25_74a5_2e99_8d5309240469["is()"] a576e350_6e45_8af7_d27a_0380c93272fd -->|method| 3d3cd1dd_4d25_74a5_2e99_8d5309240469
Relationship Graph
Source Code
packages/astro/src/core/errors/errors.ts lines 81–91
export class CompilerError extends AstroError {
type: ErrorTypes = 'CompilerError';
constructor(props: ErrorProperties, options?: ErrorOptions) {
super(props, options);
}
static is(err: unknown): err is CompilerError {
return (err as CompilerError)?.type === 'CompilerError';
}
}
Domain
Defined In
Source
Frequently Asked Questions
What is the CompilerError class?
CompilerError is a class in the astro codebase, defined in packages/astro/src/core/errors/errors.ts.
Where is CompilerError defined?
CompilerError is defined in packages/astro/src/core/errors/errors.ts at line 81.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free