Compensation Failure
data class CompensationFailure<S>(val originalError: SagaExecutionError, val compensationErrors: List<SagaExecutionError>, val finalState: S) : StatefulSagaResult<Nothing, S>
Saga aborted and compensation failed.
A saga step failed, and at least one compensation also failed. The system may be in an inconsistent state and requires manual intervention.
Parameters
original Error
The error that caused the saga to abort
compensation Errors
List of errors that occurred during compensation
final State
The saga state at the time of compensation failure
Constructors
Link copied to clipboard
constructor(originalError: SagaExecutionError, compensationErrors: List<SagaExecutionError>, finalState: S)