Error

Trait Error 

Source
pub trait Error {
    // Required method
    fn throw(&self);
}
Expand description

Every error type must implement this trait.

Required Methods§

Source

fn throw(&self)

Prints the error message and sets the error flag.

Implementors§