Skip to main content

catch_panic_admin_api

Function catch_panic_admin_api 

Source
pub fn catch_panic_admin_api() -> CatchPanicLayer<fn(Box<dyn Any + Send + 'static>) -> Response>
Expand description

The last-resort panic layer for the admin /api nest — see [admin_api_panic_response].