InterruptError
Defined in: src/interrupt.ts:104
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:110
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
interrupt | | Interrupt | Interrupt[] |
Returns
Section titled “Returns”InterruptError
Overrides
Section titled “Overrides”Error.constructorProperties
Section titled “Properties”interrupts
Section titled “interrupts”readonly interrupts: Interrupt[];Defined in: src/interrupt.ts:108
The interrupts that caused this error.