Enum gitlab::ErrorKind
[−]
pub enum ErrorKind {
Msg(String),
Communication,
UrlParse,
Gitlab(String),
Deserialize,
}The kind of an error.
Variants
Msg(String)A convenient variant for String.
CommunicationError occurred when communicating with Gitlab.
UrlParseURL parsing error; should never occur.
Gitlab(String)Gitlab returned an error message.
DeserializeFailed to deserialize a Gitlab result into a structure.
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.