pub fn set_custom_panic_hook(
hook: Box<dyn Fn(&PanicHookInfo<'_>) + Sync + Send + 'static>,
)
Available on crate feature
csr
only.Expand description
Set a custom panic hook. Unless a panic hook is set through this function, Yew will overwrite any existing panic hook when an application is rendered with Renderer.