Function sp_panic_handler::set

source ยท
pub fn set(bug_url: &str, version: &str)
Expand description

Set the panic hook.

Calls std::panic::set_hook to set up the panic hook.

The bug_url parameter is an invitation for users to visit that URL to submit a bug report in the case where a panic happens.