Function sp_panic_handler::set[][src]

pub fn set(bug_url: &str, version: &str)

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.