TaskProcessRejected class final

Envelope rejected before handler execution.

Inheritance

Constructors

TaskProcessRejected({required Envelope envelope, required TaskRejectionReason reason, Object? error, StackTrace? stackTrace})
Creates an outcome for an envelope rejected before execution.
const

Properties

attempt → int
Zero-based attempt processed by the handler.
no setterinherited
envelope → Envelope
Effective envelope used for this attempt.
finalinherited
error → Object?
Optional underlying validation or decoding error.
final
hashCode → int
The hash code for this object.
no setterinherited
reason → TaskRejectionReason
Stable rejection category for transport mapping.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → StackTrace?
Optional error 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