Interface QueryObserverRefetchErrorResult<TData, TError>

interface QueryObserverRefetchErrorResult {
    data: TData;
    dataUpdatedAt: number;
    error: TError;
    errorUpdateCount: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: null | TError;
    fetchStatus: FetchStatus;
    isError: true;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isLoading: false;
    isLoadingError: false;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isPreviousData: boolean;
    isRefetchError: true;
    isRefetching: boolean;
    isStale: boolean;
    isSuccess: false;
    refetch: (<TPageData>(options?) => Promise<QueryObserverResult<TData, TError>>);
    remove: (() => void);
    status: "error";
}

Type Parameters

  • TData = unknown

  • TError = unknown

Hierarchy

Properties

data: TData
dataUpdatedAt: number
error: TError
errorUpdateCount: number
errorUpdatedAt: number
failureCount: number
failureReason: null | TError
fetchStatus: FetchStatus
isError: true
isFetched: boolean
isFetchedAfterMount: boolean
isFetching: boolean
isInitialLoading: boolean
isLoading: false
isLoadingError: false
isPaused: boolean
isPlaceholderData: boolean
isPreviousData: boolean
isRefetchError: true
isRefetching: boolean
isStale: boolean
isSuccess: false
refetch: (<TPageData>(options?) => Promise<QueryObserverResult<TData, TError>>)

Type declaration

remove: (() => void)

Type declaration

    • (): void
    • Returns void

status: "error"

Generated using TypeDoc