Home / Class/ LiveEntryNotFoundError Class — astro Architecture

LiveEntryNotFoundError Class — astro Architecture

Architecture documentation for the LiveEntryNotFoundError class in errors.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  2e347169_fdd1_ab3b_7c31_39662b9eca39["LiveEntryNotFoundError"]
  244bd8fe_4d6f_01c4_922b_3ce9b01593be["errors.ts"]
  2e347169_fdd1_ab3b_7c31_39662b9eca39 -->|defined in| 244bd8fe_4d6f_01c4_922b_3ce9b01593be
  be7ef71c_c65d_7c64_3eaa_df96be074ed9["constructor()"]
  2e347169_fdd1_ab3b_7c31_39662b9eca39 -->|method| be7ef71c_c65d_7c64_3eaa_df96be074ed9
  a2dd51cf_0c9b_2858_9a03_989b2afbaa74["is()"]
  2e347169_fdd1_ab3b_7c31_39662b9eca39 -->|method| a2dd51cf_0c9b_2858_9a03_989b2afbaa74

Relationship Graph

Source Code

packages/astro/src/content/loaders/errors.ts lines 24–35

export class LiveEntryNotFoundError extends LiveCollectionError {
	constructor(collection: string, entryFilter: string | Record<string, unknown>) {
		super(
			collection,
			`Entry ${collection} → ${typeof entryFilter === 'string' ? entryFilter : JSON.stringify(entryFilter)} was not found.`,
		);
		this.name = 'LiveEntryNotFoundError';
	}
	static is(error: unknown): error is LiveEntryNotFoundError {
		return (error as any)?.name === 'LiveEntryNotFoundError';
	}
}

Frequently Asked Questions

What is the LiveEntryNotFoundError class?
LiveEntryNotFoundError is a class in the astro codebase, defined in packages/astro/src/content/loaders/errors.ts.
Where is LiveEntryNotFoundError defined?
LiveEntryNotFoundError is defined in packages/astro/src/content/loaders/errors.ts at line 24.

Analyze Your Own Codebase

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

Try Supermodel Free