PanicFailure
Defined in: failure.ts:95
User-defined failure via panic().
Extends
Section titled “Extends”BaseFailure
Properties
Section titled “Properties”
readonlykind:"panic"
Defined in: failure.ts:96
message
Section titled “message”
readonlymessage:string
Defined in: failure.ts:32
Human-readable error message
Inherited from
Section titled “Inherited from”BaseFailure.message
readonlynode:NodeId
Defined in: failure.ts:30
The AST node where the failure occurred
Inherited from
Section titled “Inherited from”BaseFailure.node
readonlypath:JsonPath
Defined in: failure.ts:98
Path context where panic was triggered
reason
Section titled “reason”
readonlyreason:string
Defined in: failure.ts:100
User-provided reason for the panic