Enum sherpa::errors::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Git(GitError), Io(IoError), Json(SerdeError), Reqwest(ReqwestError), SetLogger(SetLoggerError), Ws(WsError), StageNotFound(String), Unauthorized, Http(StatusCode, String), InvalidSherpaStage(String), // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Git(GitError)
Io(IoError)
Json(SerdeError)
Reqwest(ReqwestError)
SetLogger(SetLoggerError)
Ws(WsError)
StageNotFound(String)
Http(StatusCode, String)
InvalidSherpaStage(String)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.