Type alias UseErrorBoundary<TQueryFnData, TError, TQueryData, TQueryKey>
UseErrorBoundary<TQueryFnData, TError, TQueryData, TQueryKey>: boolean | ((error, query) => boolean)
Type Parameters
TQueryFnData
TError
TQueryData
TQueryKey extends QueryKey
Type declaration
- (error, query): boolean
Parameters
error: TError
query: Query<TQueryFnData, TError, TQueryData, TQueryKey>
Returns boolean