Enum jsonrpsee_types::error::CallError [−][src]
pub enum CallError {
InvalidParams,
Failed(Box<dyn Error + Send + Sync>),
Custom {
code: i32,
message: String,
data: Option<Box<RawValue>>,
},
}Expand description
Error that occurs when a call failed.
Variants
Invalid params in the call.
The call failed (let jsonrpsee assign default error code and error message).
Custom error with specific JSON-RPC error code, message and data.
Show fields
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CallErrorimpl !UnwindSafe for CallError