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.

Constructors

Link copied to clipboard
constructor(chainId: String, failedStepId: String, cause: Throwable)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val message: String?