Function set_error_hook

pub fn set_error_hook(hook: Arc<dyn ErrorHook>) -> ResetErrorHookOnDrop
Expand description

Sets the current thread-local error hook, which will be invoked when throw is called.