Enum ethers_providers::QuorumError
source · pub enum QuorumError {
NoQuorumReached {
values: Vec<Value>,
errors: Vec<ProviderError>,
},
}
Expand description
Error thrown when sending an HTTP request
Variants§
NoQuorumReached
NoQuorumReached
Trait Implementations§
source§impl Debug for QuorumError
impl Debug for QuorumError
source§impl Display for QuorumError
impl Display for QuorumError
source§impl Error for QuorumError
impl Error for QuorumError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<QuorumError> for ProviderError
impl From<QuorumError> for ProviderError
source§fn from(src: QuorumError) -> Self
fn from(src: QuorumError) -> Self
Converts to this type from the input type.
source§impl RpcError for QuorumError
impl RpcError for QuorumError
source§fn as_error_response(&self) -> Option<&JsonRpcError>
fn as_error_response(&self) -> Option<&JsonRpcError>
Access an underlying JSON-RPC error (if any) Read more
source§fn as_serde_error(&self) -> Option<&Error>
fn as_serde_error(&self) -> Option<&Error>
Access an underlying
serde_json
error (if any) Read moresource§fn is_error_response(&self) -> bool
fn is_error_response(&self) -> bool
Returns
true
if the underlying error is a JSON-RPC error responsesource§fn is_serde_error(&self) -> bool
fn is_serde_error(&self) -> bool
Returns
true
if the underlying error is a serde_json (de)serialization
error. This method can be used to identifyAuto Trait Implementations§
impl !RefUnwindSafe for QuorumError
impl Send for QuorumError
impl Sync for QuorumError
impl Unpin for QuorumError
impl !UnwindSafe for QuorumError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more