Enum launchdarkly::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Codec(SerdeError), Http(HttpError), IO(IoError), URI(UriError), // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Codec(SerdeError)
Http(HttpError)
IO(IoError)
URI(UriError)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.