Class: ToolTimeoutError

Defined in: errors.ts:160

Error thrown when a tool execution times out.

Example

throw new ToolTimeoutError('read_file', 30000);

Extends

Constructors

Constructor

new ToolTimeoutError(toolName, timeoutMs): ToolTimeoutError;

Defined in: errors.ts:161

Parameters

Parameter Type
toolName string
timeoutMs number

Returns

ToolTimeoutError

Overrides

ToolError.constructor

Properties

cause?

readonly optional cause?: Error;

Defined in: errors.ts:17

Inherited from

ToolError.cause

timeoutMs

readonly timeoutMs: number;

Defined in: errors.ts:163

toolName

readonly toolName: string;

Defined in: errors.ts:162

Inherited from

ToolError.toolName