pub fn hook(info: &PanicInfo<'_>)
Expand description
A panic hook for use with
std::panic::set_hook
that logs panics into
console.error
.
On non-wasm targets, prints the panic to stderr
.
pub fn hook(info: &PanicInfo<'_>)
A panic hook for use with
std::panic::set_hook
that logs panics into
console.error
.
On non-wasm targets, prints the panic to stderr
.