Interface RequestCaughtErrorEvent

interface RequestCaughtErrorEvent {
    ok: false;
    reason: any;
    requestInfo: FetchRequestInfo;
    retryAfter: null | number;
    timestamp: number;
    type: ABORT | INTERNAL;
    willRetry: false;
}

Hierarchy (view full)

Properties

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: ABORT | INTERNAL

The failure type.

willRetry: false

Caught errors will not be retried.