[][src]Function console_error_panic_hook::hook

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.