Skip to main content

format_error

Function format_error 

Source
pub fn format_error(id: &str, code: &str, message: &str) -> String
Expand description

Format an error response as JSON string (newline-terminated).