@honua/sdk-js
    Preparing search index...

    Interface McpStructuredErrorExperimental

    The MCP error-contract "structured content" honua-server promises ("tool failures are returned inside result with isError: true and a structured code ... read the embedded message"). The exact JSON Schema for this shape is not published anywhere this client could import from — ./mcp-client.ts's module doc records the interpretation this type encodes and how parseToolError degrades gracefully if a real server's shape differs.

    interface McpStructuredError {
        code: string;
        message: string;
        readonly [key: string]: unknown;
    }

    Indexable

    • readonly [key: string]: unknown
    Index

    Properties

    Properties

    code: string
    message: string