Function yew::set_custom_panic_hook[][src]

pub fn set_custom_panic_hook(
    hook: Box<dyn Fn(&PanicInfo<'_>) + Sync + Send + 'static>
)
Expand description

Set a custom panic hook. Unless a panic hook is set through this function, Yew will overwrite any existing panic hook when one of the start_app* functions are called.