pub fn http_error_details(status: u16, text: &str, secrets: &[&str]) -> Value
Structured diagnostics of an HTTP error response: httpStatus, errorType, errorMessage, bodyPreview and bodyChars (same keys as JavaScript).