Stone.js API
    Preparing search index...

    What an MCP protocol error carries.

    interface McpErrorOptions {
        cause?: Error;
        code?: string;
        jsonRpcCode: number;
        metadata?: unknown;
    }

    Hierarchy

    • ErrorOptions
      • McpErrorOptions
    Index
    cause?: Error

    The original error that caused this error, useful for error chaining.

    code?: string

    A specific error code for identifying the error.

    jsonRpcCode: number

    The JSON-RPC code.

    metadata?: unknown

    Additional information or context about the error.