Skip to main content

print_error_with_json

Function print_error_with_json 

Source
pub fn print_error_with_json(error: &Error, json_format: bool)
Expand description

Prints an error message, either as JSON or user-friendly format.