ErrorHandler

Trait ErrorHandler 

Source
pub trait ErrorHandler {
    // Required method
    fn handle_error(&mut self, error: Error) -> bool;
}
Expand description

Error handler trait for models

Required Methods§

Source

fn handle_error(&mut self, error: Error) -> bool

Handle an error, returning true if the error was handled

Implementors§