DependencyFailedException class final
Recorded when a waiting task cannot run because a dependency did not complete.
The queue does not throw this to application code. It is stored as the TaskFailure of a dependent task that was cancelled or failed by its DependencyFailurePolicy.
- Implemented types
Constructors
- DependencyFailedException({required String taskId, required String dependencyId, required TaskStatus? dependencyStatus})
-
Creates an exception for
taskIdblocked bydependencyId.const
Properties
- dependencyId → String
-
The dependency that did not complete.
final
- dependencyStatus → TaskStatus?
-
Final status of the dependency, or null when it is no longer stored.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- taskId → String
-
The dependent task that will not run.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited