Function bevy_error_panic_hook

Source
pub fn bevy_error_panic_hook(
    current_hook: impl Fn(&PanicHookInfo<'_>),
) -> impl Fn(&PanicHookInfo<'_>)
Expand description

When called, this will skip the currently configured panic hook when a BevyError backtrace has already been printed.