Struct jsonrpc::error::RpcError[][src]

pub struct RpcError {
    pub code: i32,
    pub message: String,
    pub data: Option<Value>,
}

A JSONRPC error object

Fields

The integer identifier of the error

A string describing the error

Additional data specific to the error

Trait Implementations

impl From<RpcError> for Error
[src]

Performs the conversion.

impl Clone for RpcError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RpcError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for RpcError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for RpcError

impl Sync for RpcError