CompensationFailure class
Describes a single failed compensation attempt.
Aggregated by TxApplyCompensationException when the compensation policy allows failures to accumulate. Each instance captures enough forensic information to reproduce or diagnose the failure.
Constructors
- CompensationFailure({required Cell cell, required Object error, Function? function, StackTrace? stackTrace})
-
const
Properties
- cell → Cell
-
The cell on which the compensation was attempted.
final
- error → Object
-
The error raised by the compensation attempt.
final
- function → Function?
-
The compensation function, if the failure could be attributed to one.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
Optional stack trace captured at the failure site.
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