ContentLoaderReturnsInvalidId.message() — astro Function Reference
Architecture documentation for the ContentLoaderReturnsInvalidId.message() function in errors-data.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 3bedcf8f_624a_d317_0ab1_1af0ad861a28["ContentLoaderReturnsInvalidId.message()"] 0e25cce4_bb3d_83b8_da61_b3d3cc567b74["errors-data.ts"] 3bedcf8f_624a_d317_0ab1_1af0ad861a28 -->|defined in| 0e25cce4_bb3d_83b8_da61_b3d3cc567b74 style 3bedcf8f_624a_d317_0ab1_1af0ad861a28 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/errors/errors-data.ts lines 1750–1755
message(collection: string, entry: any) {
return [
`The content loader for the collection **${String(collection)}** returned an entry with an invalid \`id\`:`,
JSON.stringify(entry, null, 2),
].join('\n');
},
Domain
Subdomains
Source
Frequently Asked Questions
What does ContentLoaderReturnsInvalidId.message() do?
ContentLoaderReturnsInvalidId.message() is a function in the astro codebase, defined in packages/astro/src/core/errors/errors-data.ts.
Where is ContentLoaderReturnsInvalidId.message() defined?
ContentLoaderReturnsInvalidId.message() is defined in packages/astro/src/core/errors/errors-data.ts at line 1750.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free