handle_error

Function handle_error 

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

Handle an error by printing it and exiting.

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