Function handle_panic

Source
pub fn handle_panic(info: &PanicHookInfo<'_>)
Expand description

This function should be registered as the global panic handler using std::panic::set_hook. See the module-level documentation for usage examples.