ChainExecutionException
class ChainExecutionException(val chainId: String, val failedStepId: String, cause: Throwable) : KmpWorkerException
Thrown when a TaskChain fails at one of its steps and cannot continue. The chain transitions to a failed state; already-completed steps are not rolled back.
Parameters
chainId
The ID of the chain that failed.
failedStepId
The task ID of the step that caused the failure.
cause
The underlying exception from the step handler.