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

    Type Alias _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

    type _Error = {
        code: ErrorCode;
        data?: unknown;
        message: string;
    }
    Index

    Properties

    Properties

    code: ErrorCode

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

    data?: 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.