Enum reproto_repository::errors::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Core(ErrorKind), Io(Error), TomlDe(Error), SerdeJson(Error), UrlParseError(ParseError), FromHexError(FromHexError), HyperUriError(UriError), HyperError(Error), SystemTimeError(SystemTimeError), EmptyIndex, EmptyObjects, NoPublishIndex(String), NoPublishObjects(String), NoPublishedPackage(RpPackage), PoisonError, // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Core(ErrorKind)
Io(Error)
TomlDe(Error)
SerdeJson(Error)
UrlParseError(ParseError)
FromHexError(FromHexError)
HyperUriError(UriError)
HyperError(Error)
SystemTimeError(SystemTimeError)
EmptyIndex
EmptyObjects
NoPublishIndex(String)
NoPublishObjects(String)
NoPublishedPackage(RpPackage)
PoisonError
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.