Skip to main content

init_panic_hook

Function init_panic_hook 

Source
pub fn init_panic_hook()
Expand description

Install the console_error_panic_hook so Rust panics appear in the browser console instead of a cryptic “unreachable executed” message.