Skip to main content

catch_panic_admin_pages

Function catch_panic_admin_pages 

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

The last-resort panic layer for the admin pages and the HTML fallback — see [admin_page_panic_response]. pub on the same terms as build_admin_app.