W-CF Documentation - v11.0.0
    Preparing search index...

    Interface FetchErrorInfo

    interface FetchErrorInfo {
        error: unknown;
        isNetworkError: boolean;
        isTimeoutError: boolean;
        options: FetchOptions;
        response?: Response;
        retryCount: number;
        url: string;
        reject(pCustomError?: Error): void;
        retry(): void;
    }
    Index
    error: unknown
    isNetworkError: boolean

    True if the error is a network error.

    isTimeoutError: boolean

    True if the error is a timeout error.

    options: FetchOptions
    response?: Response
    retryCount: number

    Shows how many retries were already performed. 0 for the first error.

    url: string
    • If retry was not called reject has to be called to reject the underlying promise.

      Parameters

      • OptionalpCustomError: Error

      Returns void

    • If called the request will be executed again.

      Returns void