1 2 3
use console_error_panic_hook; pub fn set_panic_hook() { console_error_panic_hook::set_once(); }