pub enum ClientErrorKind {
Io(Error),
Reqwest(Error),
RpcError(RpcError),
SerdeJson(Error),
SigningError(SignerError),
TransactionError(TransactionError),
FaucetError(FaucetError),
Custom(String),
}
Variants§
Io(Error)
Reqwest(Error)
RpcError(RpcError)
SerdeJson(Error)
SigningError(SignerError)
TransactionError(TransactionError)
FaucetError(FaucetError)
Custom(String)
Implementations§
source§impl ClientErrorKind
impl ClientErrorKind
pub fn get_transaction_error(&self) -> Option<TransactionError>
Trait Implementations§
source§impl Debug for ClientErrorKind
impl Debug for ClientErrorKind
source§impl Display for ClientErrorKind
impl Display for ClientErrorKind
source§impl Error for ClientErrorKind
impl Error for ClientErrorKind
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<ClientErrorKind> for ClientError
impl From<ClientErrorKind> for ClientError
source§fn from(kind: ClientErrorKind) -> Self
fn from(kind: ClientErrorKind) -> Self
Converts to this type from the input type.
source§impl From<ClientErrorKind> for TransportError
impl From<ClientErrorKind> for TransportError
source§fn from(client_error_kind: ClientErrorKind) -> Self
fn from(client_error_kind: ClientErrorKind) -> Self
Converts to this type from the input type.
source§impl From<ConnectError> for ClientErrorKind
impl From<ConnectError> for ClientErrorKind
source§fn from(connect_error: ConnectError) -> Self
fn from(connect_error: ConnectError) -> Self
Converts to this type from the input type.
source§impl From<Error> for ClientErrorKind
impl From<Error> for ClientErrorKind
source§impl From<Error> for ClientErrorKind
impl From<Error> for ClientErrorKind
source§impl From<Error> for ClientErrorKind
impl From<Error> for ClientErrorKind
source§impl From<FaucetError> for ClientErrorKind
impl From<FaucetError> for ClientErrorKind
source§fn from(source: FaucetError) -> Self
fn from(source: FaucetError) -> Self
Converts to this type from the input type.
source§impl From<QuicError> for ClientErrorKind
impl From<QuicError> for ClientErrorKind
source§impl From<RpcError> for ClientErrorKind
impl From<RpcError> for ClientErrorKind
source§impl From<SignerError> for ClientErrorKind
impl From<SignerError> for ClientErrorKind
source§fn from(source: SignerError) -> Self
fn from(source: SignerError) -> Self
Converts to this type from the input type.
source§impl From<TransactionError> for ClientErrorKind
impl From<TransactionError> for ClientErrorKind
source§fn from(source: TransactionError) -> Self
fn from(source: TransactionError) -> Self
Converts to this type from the input type.
source§impl From<TransportError> for ClientErrorKind
impl From<TransportError> for ClientErrorKind
source§fn from(err: TransportError) -> Self
fn from(err: TransportError) -> Self
Converts to this type from the input type.