ExpectedImage.message() — astro Function Reference
Architecture documentation for the ExpectedImage.message() function in errors-data.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 7e237017_612c_9a58_9f59_60acbdd42c89["ExpectedImage.message()"] 0e25cce4_bb3d_83b8_da61_b3d3cc567b74["errors-data.ts"] 7e237017_612c_9a58_9f59_60acbdd42c89 -->|defined in| 0e25cce4_bb3d_83b8_da61_b3d3cc567b74 style 7e237017_612c_9a58_9f59_60acbdd42c89 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/errors/errors-data.ts lines 656–657
message: (src: string, typeofOptions: string, fullOptions: string) =>
`Expected \`src\` property for \`getImage\` or \`<Image />\` to be either an ESM imported image or a string with the path of a remote image. Received \`${src}\` (type: \`${typeofOptions}\`).\n\nFull serialized options received: \`${fullOptions}\`.`,
Domain
Subdomains
Source
Frequently Asked Questions
What does ExpectedImage.message() do?
ExpectedImage.message() is a function in the astro codebase, defined in packages/astro/src/core/errors/errors-data.ts.
Where is ExpectedImage.message() defined?
ExpectedImage.message() is defined in packages/astro/src/core/errors/errors-data.ts at line 656.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free