Interface RequestNetworkErrorEvent

interface RequestNetworkErrorEvent {
    attemptInfo: RequestAttemptInfo;
    ok: false;
    reason: any;
    requestInfo: FetchRequestInfo;
    retryAfter: null | number;
    timestamp: number;
    type: NETWORK;
    willRetry: boolean;
}

Hierarchy (view full)

Properties

attemptInfo: RequestAttemptInfo

Information about the current attempt.

ok: false

The request failed.

reason: any

The caught or rejected reason.

requestInfo: FetchRequestInfo

Information about the request.

retryAfter: null | number

The timestamp of the next try. If willRetry is true, the request will try again at this timestamp.

timestamp: number

The local timestamp of the request result or error.

type: NETWORK

The failure type.

willRetry: boolean

If false, the request will not be retried, even if there are more tries remaining.

This will be false if the error is an internal error, retries have been exhausted or the response did not pass the shouldRetry filter.