pub struct RpcError {
pub code: i32,
pub message: String,
pub data: Option<Box<RawValue>>,
}
Expand description
A JSONRPC error object
Fields§
§code: i32
The integer identifier of the error
message: String
A string describing the error
data: Option<Box<RawValue>>
Additional data specific to the error
Trait Implementations§
source§impl<'de> Deserialize<'de> for RpcError
impl<'de> Deserialize<'de> for RpcError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more