One attempt failed and will be retried. Records the count and the reason
without touching status or the data. TanStack Query calls this action
failed.
- Inheritance
-
- Object
- QueryAction
- QueryFailedAction
Constructors
- QueryFailedAction(int failureCount, Object error, StackTrace stackTrace)
-
Creates the action for the attempt that just failed.
const
Properties
- error → Object
-
What the attempt threw.
final
- failureCount → int
-
How many attempts have failed so far in this fetch, including this one.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace
-
Where it was thrown from.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited