Skip to main content

print_error

Function print_error 

Source
pub fn print_error(noun: &'static str, op: &'static str, err: &OpError)
Expand description

Print a typed error in the JSON envelope and return the same error so the caller can map it to the process exit code.