pub fn print_error_json(err: &CliError) -> Result<(), CliError>
Print an error envelope derived from CliError.
CliError