Function litcheck_core::diagnostics::reporting::set_hook
source · pub fn set_hook(
hook: Box<dyn Fn(&(dyn Diagnostic + 'static)) -> Box<dyn ReportHandler> + Sync + Send>
) -> Result<(), InstallError>
Expand description
Set the error hook.