ActionError

public enum ActionError<ContentType> : LocalizedError where ContentType : ContentTypeable

Errors thrown by ActionSequence during configuration and while an Action or ActionGroup is running.

  • The action collection contains no actions and cannot be performed.

    Declaration

    Swift

    case noActionsAvailable
  • A sequence step is missing the output conduit required to pass its result to the next step.

    Declaration

    Swift

    case missingConduit
  • A required action could not be found when building or running a sequence step.

    Declaration

    Swift

    case missingAction
  • A group step is missing the merger required to pass its result to the next step.

    Declaration

    Swift

    case missingMerger
  • A sequence step has no result handler configured to receive the interactor’s response.

    Declaration

    Swift

    case missingResultHandler
  • An action configuration has an invalid configuration.

    Declaration

    Swift

    case invalidConfiguration
  • An interactor action type was defined on an ActionPerformable object.

    Declaration

    Swift

    case noInteractorActionType
  • The configuration is not a configuration object that can create an ActionPerformable object.

    Declaration

    Swift

    case notActionConfiguration
  • The action collection’s task was cancelled before all steps completed. Contains results from the actions which completed before cancellation occurred.

    Declaration

    Swift

    case cancelled(partialResults: ActionCollectionResults<ContentType>)
  • An action, transformer, or group merger failed, stopping further progress. Contains results from the actions which completed before the failure occurred, and the error that caused the failure.

    Declaration

    Swift

    case failed(partialResults: ActionCollectionResults<ContentType>, error: any Error)
  • Declaration

    Swift

    public var errorDescription: String? { get }