Skip to main content

handle_error

Function handle_error 

Source
pub fn handle_error(error: &CliError, verbose: bool)
Expand description

Print an error for the top-level command dispatcher.

If verbose is true, prints the debug format (with stack trace info). Otherwise, prints the display format (user-friendly message).