Aborted

data class Aborted<S>(val error: SagaExecutionError, val finalState: S) : StatefulSagaResult<Nothing, S>

Saga aborted due to step failure.

A saga step failed during execution, triggering compensation. All completed steps were compensated successfully, and the system is in a consistent state.

Parameters

error

Details of the failure that caused the abort

finalState

The saga state at the time of failure (after any updates made by failed step)

Constructors

Link copied to clipboard
constructor(error: SagaExecutionError, finalState: S)

Properties

Link copied to clipboard
Link copied to clipboard