Agent Client Protocol - v0.5.1
    Preparing search index...

    Interface Error

    JSON-RPC error object.

    Represents an error that occurred during method execution, following the JSON-RPC 2.0 error object specification with optional additional data.

    See protocol docs: JSON-RPC Error Object

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

    Properties

    Properties

    code: number

    A number indicating the error type that occurred. This must be an integer as defined in the JSON-RPC specification.

    data?: { [k: string]: unknown }

    Optional primitive or structured value that contains additional information about the error. This may include debugging information or context-specific details.

    message: string

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