Skip to main content

parse_debug

Function parse_debug 

Source
pub fn parse_debug(status: u16, body: Value) -> Result<Value>
Expand description

Interpret a debug-service (status, body) pair. The debug service does not use the success envelope: 200 is success, and errors arrive as {"error": msg, "status": "error"} with a 4xx/5xx code.