Skip to content

RuntimeFailure

Defined in: failure.ts:84

A required context capability is not available.

  • BaseFailure

readonly capability: "readFile" | "glob"

Defined in: failure.ts:87

The missing capability (‘readFile’ or ‘glob’)


readonly kind: "runtime"

Defined in: failure.ts:85


readonly message: string

Defined in: failure.ts:32

Human-readable error message

BaseFailure.message


readonly node: NodeId

Defined in: failure.ts:30

The AST node where the failure occurred

BaseFailure.node


readonly source: string

Defined in: failure.ts:89

The file path or glob pattern that required this capability