TaskRevokedException class
Exception thrown when a task is revoked during execution.
- Implemented types
Constructors
- TaskRevokedException({required String taskId, String? reason, String? requestedBy})
- Creates a revoked-task exception.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → String?
-
Optional reason for revocation.
final
- requestedBy → String?
-
Optional requester identifier.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- taskId → String
-
Identifier of the revoked task.
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