@modelcontextprotocol/sdk
    Preparing search index...

    Interface Error

    interface Error {
        code: number;
        data?: unknown;
        message: string;
    }
    Index

    Properties

    Properties

    code: number

    The error type that occurred.

    data?: unknown

    Additional information about the error. The value of this member is defined by the sender (e.g. detailed error information, nested errors etc.).

    message: string

    A short description of the error. The message SHOULD be limited to a concise single sentence.