Enum hubcaps::errors::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Codec(SerdeError), Http(HttpError), IO(IoError), Fault { code: StatusCode, error: ClientError, }, }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Codec(SerdeError)
Http(HttpError)
IO(IoError)
Fault
Fields of Fault
code: StatusCode | |
error: ClientError |
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.