usealloc::boxed::Box;/// When a rpc call encounters an error.
#[cfg_attr(feature ="serde",derive(serde::Deserialize))]#[derive(Debug)]pubstructJsonRpcResponseError{/// Indicates the error type that occurred.
pubcode:i32,
/// Additional information about the error
#[cfg(feature ="serde_json")]pubdata:Option<serde_json::Value>,
/// Short description of the error.
pubmessage:Box<str>,
}