Trait salvo_core::catcher::Catcher
source ·
[−]pub trait Catcher: Send + Sync + 'static {
fn catch(&self, req: &Request, depot: &Depot, res: &mut Response) -> bool;
}
Expand description
Catch error in current response.