Skip to main content

emit_error

Function emit_error 

Source
pub fn emit_error(category: &str, object: &str, message: &str)
Expand description

See emit_info. Unlike the Error! macro this cannot escalate by returning — there is no Err channel in the contexts it serves — so when the error count or the consecutive-error count crosses its cap it emits the Fatal:TooManyErrors record and latches the sticky fatal instead: the run continues (its caller has no unwind path) but the conversion’s verdict and status code report the fatal honestly.