Struct json_rpc2::RpcError [−][src]
Expand description
Error information for response messages.
Fields
code: isize
The error code.
message: String
The error message.
data: Option<String>
Additional data for the error, typically an underlying cause for the error.
Trait Implementations
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