RAILGUN Reloaded
    Preparing search index...

    Type Alias JsonRpcErrorPayload

    JSON-RPC 2.0 error response from a PPOI node.

    type JsonRpcErrorPayload = {
        jsonrpc: "2.0";
        id: number | string | null;
        error: { code: number; message: string; data?: unknown };
    }
    Index
    jsonrpc: "2.0"

    JSON-RPC protocol version.

    id: number | string | null

    Id of the request that the response answers.

    error: { code: number; message: string; data?: unknown }

    Error object of the response.

    Type Declaration

    • code: number

      JSON-RPC error code.

    • message: string

      Error message from the node.

    • Optionaldata?: unknown

      Optional error data from the node.