pub trait ErrorHandler {
// Required method
fn handle_error(&mut self, error: Error) -> bool;
}Expand description
Error handler trait for models
Required Methods§
Sourcefn handle_error(&mut self, error: Error) -> bool
fn handle_error(&mut self, error: Error) -> bool
Handle an error, returning true if the error was handled