ActionError

public enum ActionError<Error> : Swift.Error where Error : Error
extension ActionError: Equatable where Error: Equatable

ActionError represents the error that could be emitted by a unit of work of a certain Action.

  • The execution attempt was failed, since the Action was disabled.

    Declaration

    Swift

    case disabled
  • The unit of work emitted an error.

    Declaration

    Swift

    case producerFailed(Error)

Available where Error: Equatable

  • Declaration

    Swift

    public static func == (lhs: ActionError<Error>, rhs: ActionError<Error>) -> Bool