Home / Class/ InternalError Class — astro Architecture

InternalError Class — astro Architecture

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

Entity Profile

Dependency Diagram

graph TD
  19d02c78_b90f_4af5_5f5c_153029703ef0["InternalError"]
  6040eeed_628d_7649_3de3_370870542dad["errors.ts"]
  19d02c78_b90f_4af5_5f5c_153029703ef0 -->|defined in| 6040eeed_628d_7649_3de3_370870542dad
  7daff21e_ff08_dce7_0a8c_c1c81405d631["is()"]
  19d02c78_b90f_4af5_5f5c_153029703ef0 -->|method| 7daff21e_ff08_dce7_0a8c_c1c81405d631

Relationship Graph

Source Code

packages/astro/src/core/errors/errors.ts lines 109–115

export class InternalError extends AstroError {
	type: ErrorTypes = 'InternalError';

	static is(err: unknown): err is InternalError {
		return (err as InternalError)?.type === 'InternalError';
	}
}

Domain

Frequently Asked Questions

What is the InternalError class?
InternalError is a class in the astro codebase, defined in packages/astro/src/core/errors/errors.ts.
Where is InternalError defined?
InternalError is defined in packages/astro/src/core/errors/errors.ts at line 109.

Analyze Your Own Codebase

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

Try Supermodel Free