ToolTimeoutError
Thrown by ctx.tool(...) when a tool declared needsApproval: true is denied
by a human (the __approval signal resolves with approved: false). Catch it
inside the calling flow action node to route gracefully (e.g. escalate or end).
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ToolTimeoutError(toolName, timeoutMs): ToolTimeoutError;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”ToolTimeoutError
Overrides
Section titled “Overrides”Error.constructorProperties
Section titled “Properties”timeoutMs
Section titled “timeoutMs”readonly timeoutMs: number;toolName
Section titled “toolName”readonly toolName: string;