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

InvalidContentEntryFrontmatterError.message() — astro Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/astro/src/core/errors/errors-data.ts lines 1642–1649

	message(collection: string, entryId: string, error: $ZodError) {
		return [
			`**${String(collection)} → ${String(
				entryId,
			)}** frontmatter does not match collection schema.`,
			error.message,
		].join('\n');
	},

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free