CodeExecutorFault
Defined in: mcp-code/src/lib/errors.ts:40
The executor itself failed — the sandbox engine threw on the host (e.g. a native stack
overflow from a stackBytes above the safe ceiling). The sandbox instance is discarded; the
host process is unaffected.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CodeExecutorFault(
message?,data?,errors?,hint?):CodeExecutorFault
Defined in: mcp-code/src/lib/errors.ts:41
Parameters
Section titled “Parameters”message?
Section titled “message?”string = "Code executor fault"
unknown
errors?
Section titled “errors?”unknown[]
string
Returns
Section titled “Returns”CodeExecutorFault
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>