Skip to main content

note_error_cap

Function note_error_cap 

Source
pub fn note_error_cap(key: &str)
Expand description

The error cap’s bookkeeping after one counted Error (key = category:object): at the crossing of MAX_ERRORS or of the consecutive-error limit, latch TooManyErrors and emit its Fatal (Perl Error.pm L362-372). Shared by emit_error and a replayed deferred error (logger.rs DeferredDiagnostics).