set_error_hook

Function set_error_hook 

Source
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.