Skip to main content

emit_error

Function emit_error 

Source
pub fn emit_error(localized_msg: &str)
Expand description

Emits a localised error message to stderr with the Error:/Erro: prefix.

Centralises human-readable error output following Pattern 5 (output.rs is the SOLE I/O point of the CLI). Does not log via tracing — call tracing::error! explicitly before this function when structured observability is desired.