TaskProcessFailure class final

Terminal handler failure after retry policy evaluation.

Inheritance

Constructors

TaskProcessFailure({required Envelope envelope, required Object error, required StackTrace stackTrace, bool retryExhausted = false})
Creates a terminal failure outcome.
const

Properties

attempt int
Zero-based attempt processed by the handler.
no setterinherited
envelope Envelope
Effective envelope used for this attempt.
finalinherited
error Object
Terminal failure.
final
hashCode int
The hash code for this object.
no setterinherited
retryExhausted bool
Whether the outcome exhausted an available retry budget.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace
Failure stack trace.
final
taskId String
Stable logical task identifier retained across every attempt.
no setterinherited

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