Trait nickel::ErrorHandler
[−]
[src]
pub trait ErrorHandler<D>: Send + 'static + Sync { fn handle_error(&self, &mut NickelError<D>, &mut Request<D>) -> Action; }
Required Methods
fn handle_error(&self, &mut NickelError<D>, &mut Request<D>) -> Action
Implementors
impl<D: 'static> ErrorHandler<D> for fn(&mut NickelError<D>, &mut Request<D>) -> Action
impl<D> ErrorHandler<D> for DefaultErrorHandler