Failed

data class Failed(val transactionId: String, val workflow: WorkflowProgress?, val error: EngineError, val recoverable: Boolean, val retryAction: RetryAction?) : StepResult

The call failed. A recoverable failure is retried as retryAction says, which is set exactly when recoverable is. A non-recoverable one can't be retried: the host ends the verification.

Constructors

Link copied to clipboard
constructor(transactionId: String, workflow: WorkflowProgress?, error: EngineError, recoverable: Boolean, retryAction: RetryAction?)

Properties

Link copied to clipboard
Link copied to clipboard

Output of the step the backend just moved past (e.g. StepOutput.CardScan), delivered once. Only a Ready or a Finished carries one; it is null for steps with no host-facing output.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val transactionId: String
Link copied to clipboard
open override val workflow: WorkflowProgress?

The latest workflow snapshot; null on a Failed or Finished that came before the backend sent one.