Skip to main content

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

readonly errorCode: number

Defined in: packages/nadle/src/core/utilities/nadle-error.ts:13

The numeric exit code for this failure.


errorType

readonly errorType: string

Defined in: packages/nadle/src/core/utilities/nadle-error.ts:15

The error category name (the error's class name).


message

readonly message: string

Defined in: packages/nadle/src/core/utilities/nadle-error.ts:11

The human-readable error message.


task?

readonly optional task?: string

Defined in: packages/nadle/src/core/utilities/nadle-error.ts:9

The label of the failing task; present only for task-execution errors.