Skip to main content

parse_error_fields

Function parse_error_fields 

Source
pub fn parse_error_fields(body: &str) -> ErrorFields
Expand description

Extract common error fields from a JSON response body. Returns empty fields for non-JSON or when keys are absent.