Enum ethers_providers::IpcError
source · pub enum IpcError {
JsonError(Error),
IoError(Error),
JsonRpcError(JsonRpcError),
ChannelError(String),
RequestCancelled(RecvError),
ServerExit,
}
Expand description
Error thrown when sending or receiving an IPC message.
Variants§
JsonError(Error)
Thrown if deserialization failed
IoError(Error)
std IO error forwarding.
JsonRpcError(JsonRpcError)
Thrown if the response could not be parsed
ChannelError(String)
RequestCancelled(RecvError)
ServerExit
Trait Implementations§
source§impl Error for IpcError
impl Error for IpcError
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()