StructuredError
Nadle / StructuredError
Interface: StructuredError
Defined in: packages/nadle/src/core/utilities/nadle-error.ts:7
Machine-readable representation of an error, emitted on failure when a structured error mode is active (e.g. the agent reporter).
Properties
errorCode
readonlyerrorCode:number
Defined in: packages/nadle/src/core/utilities/nadle-error.ts:13
The numeric exit code for this failure.
errorType
readonlyerrorType:string
Defined in: packages/nadle/src/core/utilities/nadle-error.ts:15
The error category name (the error's class name).
message
readonlymessage:string
Defined in: packages/nadle/src/core/utilities/nadle-error.ts:11
The human-readable error message.
task?
readonlyoptionaltask?:string
Defined in: packages/nadle/src/core/utilities/nadle-error.ts:9
The label of the failing task; present only for task-execution errors.