Creates a sanitized transport error.
The stable code for the transport failure.
A safe message intended for application logs.
OptionalrawAxiosError: unknown
The original Axios error when raw diagnostics are enabled.
Optionaloptions: AniLinkNetworkErrorOptions & { requestId?: string }
Additional transport metadata such as the effective timeout duration and the request correlation ID.
Optional Readonlyabortedtrue when this abort happened during the post-success rate-limit
pacing wait (see AniLinkNetworkErrorOptions.abortedDuringPacing).
The upstream attempt already succeeded when this is set.
Stable code used to classify the failure.
Optional ReadonlyrawOriginal Axios or transport error when raw diagnostics were enabled.
Optional ReadonlyrequestLibrary-generated correlation ID joining this failure to the
onRequestStart/onResponse/onRetry/onError hook events it
produced, so a caught error can be matched to its lifecycle stream in a
metrics or logging backend. Absent on errors raised outside the
request pipeline (for example validation errors thrown before any
request is sent).
Optional ReadonlytimeoutThe effective timeout duration in milliseconds when this failure was a
timeout and a finite timeout was configured. Use it to correlate the
error with the timeout option that produced it; absent when the
timeout is disabled (0) or the failure is not a timeout.
Network, timeout, cancellation, or circuit-breaker failure.
See