InterruptError
Defined in: src/interrupt.ts:105
Error thrown when human input is required to continue agent execution. Caught by the agent loop to trigger an interrupt stop.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new InterruptError(interrupt): InterruptError;Defined in: src/interrupt.ts:111
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
interrupt | | Interrupt | Interrupt[] |
Returns
Section titled “Returns”InterruptError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”interrupts
Section titled “interrupts”readonly interrupts: Interrupt[];Defined in: src/interrupt.ts:109
The interrupts that caused this error.