Home / Type/ AstroErrorPayload Type — astro Architecture

AstroErrorPayload Type — astro Architecture

Architecture documentation for the AstroErrorPayload type/interface in vite.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  04be8c86_7edc_563d_13ba_70d1f0aaaf8d["AstroErrorPayload"]
  35a0af3d_ab30_11cd_b3ee_bae2c089e53b["vite.ts"]
  04be8c86_7edc_563d_13ba_70d1f0aaaf8d -->|defined in| 35a0af3d_ab30_11cd_b3ee_bae2c089e53b
  style 04be8c86_7edc_563d_13ba_70d1f0aaaf8d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/errors/dev/vite.ts lines 84–100

export interface AstroErrorPayload {
	__isEnhancedAstroErrorPayload: true;
	type: ErrorPayload['type'];
	err: Omit<ErrorPayload['err'], 'loc'> & {
		name?: string;
		title?: string;
		hint?: string;
		docslink?: string;
		highlightedCode?: string;
		loc?: {
			file?: string;
			line?: number;
			column?: number;
		};
		cause?: unknown;
	};
}

Frequently Asked Questions

What is the AstroErrorPayload type?
AstroErrorPayload is a type/interface in the astro codebase, defined in packages/astro/src/core/errors/dev/vite.ts.
Where is AstroErrorPayload defined?
AstroErrorPayload is defined in packages/astro/src/core/errors/dev/vite.ts at line 84.

Analyze Your Own Codebase

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

Try Supermodel Free