CompensationFailure

data class CompensationFailure(val originalError: SagaExecutionError, val compensationErrors: List<SagaExecutionError>) : SagaResult<Nothing>

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. This is a critical failure condition that should be monitored and alerted.

Parameters

originalError

The error that caused the saga to abort

compensationErrors

List of errors that occurred during compensation

Constructors

Link copied to clipboard
constructor(originalError: SagaExecutionError, compensationErrors: List<SagaExecutionError>)

Properties

Link copied to clipboard