@statechannels/client-api-schema > JsonRpcError
JsonRpcError 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 error object as per JSON-RPC 2.0 Specification
Signature:
export interface JsonRpcError<Code extends number, Message, Data = undefined>
Properties
Property | Type | Description |
---|---|---|
code | Code | (BETA) Error code |
data | Data | (BETA) Error data |
message | Message | (BETA) Error message |