message |
string
|
<optional>
|
Error message; when omitted a sensible
default is derived. |
status |
number
|
string
|
null
|
<optional>
|
HTTP status code. |
url |
string
|
<optional>
|
Request URL. |
attempt |
number
|
<optional>
|
Attempt number (1-based). |
networkError |
boolean
|
<optional>
|
Whether the failure was a network
error. |
headers |
Headers
|
object
|
null
|
<optional>
|
Response headers when
available. |
response |
object
|
null
|
<optional>
|
Response-like object with
`status`, `url`, `headers`, and `data` or `bodyText`. |
bodyText |
string
|
null
|
<optional>
|
Response body to attach
(truncated). |
error |
Error
|
<optional>
|
Original thrown error for context. |
maxErrorBody |
number
|
<optional>
|
Body truncation limit. |