Enum jsonrpsee_types::error::CallError [−][src]
pub enum CallError {
InvalidParams(Error),
Failed(Error),
Custom {
code: i32,
message: String,
data: Option<Box<RawValue>>,
},
}
Expand description
Error that occurs when a call failed.
Variants
InvalidParams(Error)
Tuple Fields
0: Error
Invalid params in the call.
Failed(Error)
Tuple Fields
0: Error
The call failed (let jsonrpsee assign default error code and error message).
Custom
Custom error with specific JSON-RPC error code, message and data.
Implementations
Create CallError
from a generic error.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CallError
impl !UnwindSafe for CallError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more