Enum bigml::ErrorKind []

pub enum ErrorKind {
    Msg(String),
    Io(Error),
    Json(Error),
    CouldNotAccessUrl(Url),
    CouldNotGetOutput(String),
    CouldNotReadFile(PathBuf),
    OutputNotAvailable,
    UnexpectedHttpStatus(StatusCodeString),
    WrongResourceType(&'static strString),
}

The kind of an error.

Variants

A convenient variant for String.

We could not access the specified URL.

We could not get an output value from a WhizzML script.

We failed to read the specified file.

We could not access an output value of a WhizzML script.

We received an unexpected HTTP status code.

We found a type mismatch deserializing a BigML resource ID.

Methods

impl ErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for ErrorKind

Formats the value using the given formatter.

impl Display for ErrorKind

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for ErrorKind

Performs the conversion.

impl From<String> for ErrorKind

Performs the conversion.

impl From<Error> for ErrorKind

Performs the conversion.