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

InvalidContentEntrySlugError.message() — astro Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/astro/src/core/errors/errors-data.ts lines 1834–1838

	message(collection: string, entryId: string) {
		return `${String(collection)} → ${String(
			entryId,
		)} has an invalid slug. \`slug\` must be a string.`;
	},

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free