Skip to content

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.

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

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

string = "Code executor fault"

unknown

unknown[]

string

CodeExecutorFault

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