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
Implementations on Foreign Types
impl<D: 'static> ErrorHandler<D> for fn(_: &mut NickelError<D>, _: &mut Request<D>) -> Action
[src]
fn handle_error(&self, err: &mut NickelError<D>, req: &mut Request<D>) -> Action
[src]
Implementors
impl<D> ErrorHandler<D> for DefaultErrorHandler