@statechannels/client-api-schema > JsonRpcErrorResponse
JsonRpcErrorResponse interface
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies response headers as per JSON-RPC 2.0 Specification
Signature:
export interface JsonRpcErrorResponse<Error = any>
Properties
Property | Type | Description |
---|---|---|
error | Error | (BETA) The generic type of the response |
id | number | (BETA) Identifier for the response |
jsonrpc | '2.0' | (BETA) Spec version |