display_error

Function display_error 

Source
pub fn display_error(error: &Error)
Expand description

Displays an anyhow::Error’s main error and its error chain to stderr.

This can be used to show a “pretty” error to the end user.