Skip to main content

print_error

Function print_error 

Source
pub fn print_error(context: &str, error: &dyn Error)
Expand description

Prints a failure to stderr in the CLI’s voice: a red cross, the app name, and the error. anstream strips styling when stderr is redirected.