DVCompensationException class

Thrown when a compensation handler itself fails during rollback.

Carries both the original failure and the compensation failures, because losing the original cause is what makes these incidents hard to debug.

Implemented types

Constructors

DVCompensationException({required Object cause, required List<Object> compensationErrors})

Properties

cause → Object
The error that triggered the rollback.
final
compensationErrors → List<Object>
Errors thrown by compensation handlers, in the order they ran.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited