isError property

bool get isError

Whether the query is in an error state.

Implementation

bool get isError => this is InfiniteQueryError<TData, TError, TPageParam>;