TaskFailed class final
A task will not be attempted again.
- Inheritance
-
- Object
- QueueEvent
- TaskFailed
Constructors
- TaskFailed({required String taskId, required String taskType, required DateTime occurredAt, required TaskFailure failure})
-
Creates a failure event.
const
Properties
- failure → TaskFailure
-
Failure recorded for the last attempt.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- occurredAt → DateTime
-
When the event was recorded, according to the queue clock.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- taskId → String
-
Task the event refers to.
finalinherited
- taskType → String
-
DurableTask.typefor taskId.finalinherited
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