pub enum Error {
Client(String),
Config(String),
Aborted,
Sentinel(String),
Redis(RedisError),
IO(Error),
Retry(SmallVec<[RetryReason; 1]>),
}Expand description
All error kinds
Variants§
Client(String)
Raised if an error occurs within the driver
Config(String)
Raised if an error occurs in the Config parsing
Aborted
A transaction has been aborted
Sentinel(String)
Raised if an error occurs when contacting Sentinel instances
Redis(RedisError)
Error returned by the Redis sercer
IO(Error)
IO error when connecting the Redis server
Retry(SmallVec<[RetryReason; 1]>)
Internal error to trigger retry sending the command
Trait Implementations§
source§impl From<ParseFloatError> for Error
impl From<ParseFloatError> for Error
source§fn from(e: ParseFloatError) -> Self
fn from(e: ParseFloatError) -> Self
Converts to this type from the input type.