Skip to content

CodeTimeout

Defined in: mcp-code/src/lib/errors.ts:4

The script ran past CodeLimits.timeoutMs — a CPU loop (interrupt handler) or a bridged call that never settled (host timer).

new CodeTimeout(message?, data?, errors?, hint?): CodeTimeout

Defined in: mcp-code/src/lib/errors.ts:5

string = "Code execution timed out"

unknown

unknown[]

string

CodeTimeout

MantleError.constructor

readonly className: string

Defined in: mantle/dist/lib/errors.d.ts:3

MantleError.className


readonly code: number

Defined in: mantle/dist/lib/errors.d.ts:2

MantleError.code


readonly optional data?: unknown

Defined in: mantle/dist/lib/errors.d.ts:4

MantleError.data


readonly optional errors?: unknown[]

Defined in: mantle/dist/lib/errors.d.ts:5

MantleError.errors


readonly optional hint?: string

Defined in: mantle/dist/lib/errors.d.ts:7

Actionable guidance for the caller — what to change so the request succeeds. Serialized in toJSON().

MantleError.hint

toJSON(): Record<string, unknown>

Defined in: mantle/dist/lib/errors.d.ts:9

Record<string, unknown>

MantleError.toJSON