Function throw_error::set_error_hook
source ยท pub fn set_error_hook(hook: Arc<dyn ErrorHook>) -> ResetErrorHookOnDropExpand description
Sets the current thread-local error hook, which will be invoked when throw is called.
pub fn set_error_hook(hook: Arc<dyn ErrorHook>) -> ResetErrorHookOnDropSets the current thread-local error hook, which will be invoked when throw is called.