ErrorWithMetadata Type — astro Architecture
Architecture documentation for the ErrorWithMetadata type/interface in errors.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 562ecedd_d73c_1d5f_f91b_4a55ea49f8fd["ErrorWithMetadata"] 6040eeed_628d_7649_3de3_370870542dad["errors.ts"] 562ecedd_d73c_1d5f_f91b_4a55ea49f8fd -->|defined in| 6040eeed_628d_7649_3de3_370870542dad style 562ecedd_d73c_1d5f_f91b_4a55ea49f8fd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/errors/errors.ts lines 155–174
export interface ErrorWithMetadata {
[name: string]: any;
name: string;
title?: string;
type?: ErrorTypes;
message: string;
stack: string;
hint?: string;
id?: string;
frame?: string;
plugin?: string;
pluginCode?: string;
fullCode?: string;
loc?: {
file?: string;
line?: number;
column?: number;
};
cause?: any;
}
Defined In
Source
Frequently Asked Questions
What is the ErrorWithMetadata type?
ErrorWithMetadata is a type/interface in the astro codebase, defined in packages/astro/src/core/errors/errors.ts.
Where is ErrorWithMetadata defined?
ErrorWithMetadata is defined in packages/astro/src/core/errors/errors.ts at line 155.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free