Skip to content

CodeOutputTooLarge

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

The script’s JSON-serialized return value exceeded CodeLimits.maxOutputBytes.

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

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

string = "Code execution result is too large"

unknown

unknown[]

string

CodeOutputTooLarge

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