Vinyl
    Preparing search index...

    Interface RequestResponseErrorEvent

    interface RequestResponseErrorEvent {
        attemptInfo: RequestAttemptInfo;
        ok: false;
        reason: any;
        requestInfo: FetchRequestInfo;
        responseInfo: ResponseInfo;
        retryAfter: null | number;
        timestamp: number;
        type: RESPONSE;
        willRetry: boolean;
    }

    Hierarchy (View Summary)

    Index

    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.

    responseInfo: ResponseInfo

    The serializable and loggable response.

    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: RESPONSE

    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.