Result

@Serializable
sealed class Result

Represents the outcome of an individual MiSnapWorkflowStep.

Subtypes:

Inheritors

Types

Link copied to clipboard
@Serializable
data class Error(val errorResult: MiSnapErrorResult) : MiSnapWorkflowStep.Result

Represents the failure of a MiSnapWorkflowStep either because if found an error or because it was skipped.

Link copied to clipboard
@Serializable
data class Success(val result: MiSnapFinalResult) : MiSnapWorkflowStep.Result

Represents a successful result from a MiSnapWorkflowStep meaning that there will be a corresponding result data.