Home / Function/ LocalImageUsedWrongly.message() — astro Function Reference

LocalImageUsedWrongly.message() — astro Function Reference

Architecture documentation for the LocalImageUsedWrongly.message() function in errors-data.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  7c98ab72_10e8_1cfe_4146_5f9054b787b8["LocalImageUsedWrongly.message()"]
  0e25cce4_bb3d_83b8_da61_b3d3cc567b74["errors-data.ts"]
  7c98ab72_10e8_1cfe_4146_5f9054b787b8 -->|defined in| 0e25cce4_bb3d_83b8_da61_b3d3cc567b74
  style 7c98ab72_10e8_1cfe_4146_5f9054b787b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/errors/errors-data.ts lines 946–947

	message: (imageFilePath: string) =>
		`\`Image\`'s and \`getImage\`'s \`src\` parameter must be an imported image or an URL, it cannot be a string filepath. Received \`${imageFilePath}\`.`,

Domain

Subdomains

Frequently Asked Questions

What does LocalImageUsedWrongly.message() do?
LocalImageUsedWrongly.message() is a function in the astro codebase, defined in packages/astro/src/core/errors/errors-data.ts.
Where is LocalImageUsedWrongly.message() defined?
LocalImageUsedWrongly.message() is defined in packages/astro/src/core/errors/errors-data.ts at line 946.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free