CloverDeviceErrorEvent

public class CloverDeviceErrorEvent : NSObject

generic message for unanticipated or unexpected errors

  • general type of error

    • COMMUNICATION_ERROR
    • VALIDATION_ERROR
    • EXCEPTION

    Declaration

    Swift

    public fileprivate(set) var errorType: CloverDeviceErrorType { get }
  • Declaration

    Swift

    public fileprivate(set) var code: Int? { get }
  • Declaration

    Swift

    public fileprivate(set) var cause: Error? { get }
  • Declaration

    Swift

    public fileprivate(set) var message: String { get }
  • Declaration

    Swift

    public init(errorType: CloverDeviceErrorType, code: Int?, cause: Error?, message: String)