Skip to main content

error_json

Function error_json 

Source
pub fn error_json(message: &str) -> String
Expand description

Encode a structured { "error": message } JSON body.