pub fn set_hook(
    hook: Box<dyn Fn(&(dyn Diagnostic + 'static)) -> Box<dyn ReportHandler> + Sync + Send>
) -> Result<(), InstallError>
Expand description

Set the error hook.