ErrorTemplateOptions Type — astro Architecture
Architecture documentation for the ErrorTemplateOptions type/interface in 4xx.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD b3191268_89bf_0cdf_682f_df5f3b5d6498["ErrorTemplateOptions"] 290d338a_b86f_3c08_2047_f178684bb43d["4xx.ts"] b3191268_89bf_0cdf_682f_df5f3b5d6498 -->|defined in| 290d338a_b86f_3c08_2047_f178684bb43d style b3191268_89bf_0cdf_682f_df5f3b5d6498 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/template/4xx.ts lines 4–15
interface ErrorTemplateOptions {
/** a short description of the error */
pathname: string;
/** HTTP error code */
statusCode?: number;
/** HTML <title> */
tabTitle: string;
/** page title */
title: string;
/** The body of the message, if one is provided */
body?: string;
}
Defined In
Source
Frequently Asked Questions
What is the ErrorTemplateOptions type?
ErrorTemplateOptions is a type/interface in the astro codebase, defined in packages/astro/src/template/4xx.ts.
Where is ErrorTemplateOptions defined?
ErrorTemplateOptions is defined in packages/astro/src/template/4xx.ts at line 4.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free