Skip to main content

error_handler

Function error_handler 

Source
pub async fn error_handler(request: Request<Body>, next: Next) -> Response
Expand description

Middleware function to handle errors and panics