Skip to main content

http_error_details

Function http_error_details 

Source
pub fn http_error_details(status: u16, text: &str, secrets: &[&str]) -> Value
Expand description

Structured diagnostics of an HTTP error response: httpStatus, errorType, errorMessage, bodyPreview and bodyChars (same keys as JavaScript).