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