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).
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CodeTimeout(
message?,data?,errors?,hint?):CodeTimeout
Defined in: mcp-code/src/lib/errors.ts:5
Parameters
Section titled “Parameters”message?
Section titled “message?”string = "Code execution timed out"
unknown
errors?
Section titled “errors?”unknown[]
string
Returns
Section titled “Returns”CodeTimeout
Overrides
Section titled “Overrides”Properties
Section titled “Properties”className
Section titled “className”
readonlyclassName:string
Defined in: mantle/dist/lib/errors.d.ts:3
Inherited from
Section titled “Inherited from”
readonlycode:number
Defined in: mantle/dist/lib/errors.d.ts:2
Inherited from
Section titled “Inherited from”
readonlyoptionaldata?:unknown
Defined in: mantle/dist/lib/errors.d.ts:4
Inherited from
Section titled “Inherited from”errors?
Section titled “errors?”
readonlyoptionalerrors?:unknown[]
Defined in: mantle/dist/lib/errors.d.ts:5
Inherited from
Section titled “Inherited from”
readonlyoptionalhint?: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().
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”toJSON()
Section titled “toJSON()”toJSON():
Record<string,unknown>
Defined in: mantle/dist/lib/errors.d.ts:9
Returns
Section titled “Returns”Record<string, unknown>