pub fn bevy_error_panic_hook(
current_hook: impl Fn(&PanicHookInfo<'_>),
) -> impl Fn(&PanicHookInfo<'_>)
Available on crate feature
backtrace
only.Expand description
When called, this will skip the currently configured panic hook when a BevyError
backtrace has already been printed.