Type Alias JsonrpcErrorError

Source
pub type JsonrpcErrorError = RpcError;
👎Deprecated since 0.3.0: Use RpcError instead.

Aliased Type§

struct JsonrpcErrorError {
    pub code: i64,
    pub data: Option<Value>,
    pub message: String,
}

Fields§

§code: i64

The error type that occurred.

§data: Option<Value>

Additional information about the error. The value of this member is defined by the sender (e.g. detailed error information, nested errors etc.).

§message: String

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