Create structured error log data from a failed HTTP request. Uses response data when the error carries one, otherwise falls back to request-only data.
The error thrown by the HTTP client.
Optional
Redaction engine applied when the data serializes.
Structured log data including the error message.
Create structured error log data from a failed HTTP request. Uses response data when the error carries one, otherwise falls back to request-only data.