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

LegacyContentConfigError.message() — astro Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/astro/src/core/errors/errors-data.ts lines 1692–1693

	message: (filename: string) =>
		`Found legacy content config file in "${filename}". Please move this file to "src/content.config.${filename.split('.').at(-1)}" and ensure each collection has a loader defined.`,

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free