APICall Error
Provider HTTP/API failure with normalized request and response details.
statusCode is the HTTP status when the failure came from a response; it is null for client-side transport failures or provider errors that do not expose a status. responseHeaders contains response headers exactly as the provider adapter captured them, or null when no response was received. isRetryable defaults to true for common transient statuses: 408, 409, 429, and 5xx. Providers may override it when the response body carries stronger retry semantics.
Since
0.3.0-beta01
Constructors
Properties
Whether retry middleware should treat this failure as transient.
JSON request body values when the provider adapter can expose them.
Raw response body text when the provider returned one.
Response headers captured from the provider, or null when unavailable.
HTTP status code for response-backed failures, or null for failures before a response exists.