HaltAttemptedAfterPhase

data class HaltAttemptedAfterPhase(val stepName: String, val reason: String, val timestamp: Long = System.currentTimeMillis()) : SagaEvent

Emitted when halt because "reason" is called inside an after.each(step) { } block.

Vetoes cannot be applied after a step has already completed. This event is emitted so monitors (logging, metrics, alerting) receive the signal rather than it going to stderr. The saga continues normally — no step is vetoed.

Constructors

Link copied to clipboard
constructor(stepName: String, reason: String, timestamp: Long = System.currentTimeMillis())

Properties

Link copied to clipboard

The reason string passed to halt because.

Link copied to clipboard

The name of the step that had just completed when halt because was called.

Link copied to clipboard
open override val timestamp: Long

Epoch millis when the event was emitted.