pub enum Error {
Show 16 variants
Argument(String),
Assertion(String),
Concurrency(String),
Data(String),
External(String),
Format(String),
Implementation(String),
Initialization(String),
Internal(String),
Interruption(String),
Operation(String),
Rejection(String),
State(String),
Timeout(String),
Unknown(String),
Version(String),
}
Expand description
Error is an enumeration of different error types
Variants§
Argument(String)
Argument error
Assertion(String)
Assertion error
Concurrency(String)
Concurrency error
Data(String)
Data error
External(String)
External error
Format(String)
Format error
Implementation(String)
Implementation error
Initialization(String)
Initialization error
Internal(String)
Internal error
Interruption(String)
Interruption error
Operation(String)
Operation error
Rejection(String)
Rejection error
State(String)
State error
Timeout(String)
Timeout error
Unknown(String)
Unknown error
Version(String)
Version error
Implementations§
Trait Implementations§
source§impl Ord for Error
impl Ord for Error
source§impl PartialEq<Error> for Error
impl PartialEq<Error> for Error
source§impl PartialOrd<Error> for Error
impl PartialOrd<Error> for Error
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more