Struct rusty_machine::learning::error::Error
[−]
[src]
pub struct Error { /* fields omitted */ }
An error related to the learning module.
Methods
impl Error
[src]
fn new<E>(kind: ErrorKind, error: E) -> Error where E: Into<Box<Error + Send + Sync>>
Construct a new Error
of a particular ErrorKind
.
fn new_untrained() -> Error
Returns a new error for an untrained model
This function is unstable and may be removed with changes to the API.
fn kind(&self) -> &ErrorKind
Get the kind of this Error
.
Trait Implementations
impl Debug for Error
[src]
impl From<Error> for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more