constructor() — astro Function Reference
Architecture documentation for the constructor() function in errors.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 8e75f281_a7da_f33b_4ba7_32ecdfbaa767["constructor()"] aadb3fde_af99_2146_4938_e2943129d6e7["LiveCollectionError"] 8e75f281_a7da_f33b_4ba7_32ecdfbaa767 -->|defined in| aadb3fde_af99_2146_4938_e2943129d6e7 be7ef71c_c65d_7c64_3eaa_df96be074ed9["constructor()"] be7ef71c_c65d_7c64_3eaa_df96be074ed9 -->|calls| 8e75f281_a7da_f33b_4ba7_32ecdfbaa767 decf500d_3746_2ab0_cffd_4294264482ce["constructor()"] decf500d_3746_2ab0_cffd_4294264482ce -->|calls| 8e75f281_a7da_f33b_4ba7_32ecdfbaa767 ae0cabb0_1b68_899d_0aa1_2d3f9ad75a05["constructor()"] ae0cabb0_1b68_899d_0aa1_2d3f9ad75a05 -->|calls| 8e75f281_a7da_f33b_4ba7_32ecdfbaa767 be7ef71c_c65d_7c64_3eaa_df96be074ed9["constructor()"] 8e75f281_a7da_f33b_4ba7_32ecdfbaa767 -->|calls| be7ef71c_c65d_7c64_3eaa_df96be074ed9 style 8e75f281_a7da_f33b_4ba7_32ecdfbaa767 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/content/loaders/errors.ts lines 8–18
constructor(
public readonly collection: string,
public readonly message: string,
public readonly cause?: Error,
) {
super(message);
this.name = 'LiveCollectionError';
if (cause?.stack) {
this.stack = cause.stack;
}
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does constructor() do?
constructor() is a function in the astro codebase, defined in packages/astro/src/content/loaders/errors.ts.
Where is constructor() defined?
constructor() is defined in packages/astro/src/content/loaders/errors.ts at line 8.
What does constructor() call?
constructor() calls 1 function(s): constructor.
What calls constructor()?
constructor() is called by 3 function(s): constructor, constructor, constructor.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free