ActionErrorProtocol

public protocol ActionErrorProtocol : Error

An optional protocol for ActionError for use in type constraints

  • Type of the error associated with the action error.

    Declaration

    Swift

    associatedtype SubError : Error
  • Whether the receiver is currently in the disabled state or not.

    Declaration

    Swift

    var isDisabled: Bool { get }
  • The error the action protocol currently have. If nil, the action error is considered disabled.

    Declaration

    Swift

    var error: SubError? { get }