Home / Function/ isTOMLError() — astro Function Reference

isTOMLError() — astro Function Reference

Architecture documentation for the isTOMLError() function in utils.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  240371b6_de89_9548_4fd9_22ac9edf8552["isTOMLError()"]
  a37e7fee_e130_2a00_6f99_81cf3cf65c83["utils.ts"]
  240371b6_de89_9548_4fd9_22ac9edf8552 -->|defined in| a37e7fee_e130_2a00_6f99_81cf3cf65c83
  style 240371b6_de89_9548_4fd9_22ac9edf8552 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/errors/utils.ts lines 90–92

export function isTOMLError(err: unknown): err is TomlError {
	return err instanceof Error && err.name === 'TomlError';
}

Domain

Subdomains

Frequently Asked Questions

What does isTOMLError() do?
isTOMLError() is a function in the astro codebase, defined in packages/astro/src/core/errors/utils.ts.
Where is isTOMLError() defined?
isTOMLError() is defined in packages/astro/src/core/errors/utils.ts at line 90.

Analyze Your Own Codebase

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

Try Supermodel Free