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
-
Declaration
Swift
public fileprivate(set) var code: Int?
-
Declaration
Swift
public fileprivate(set) var cause: Error?
-
Declaration
Swift
public fileprivate(set) var message: String
-
Declaration
Swift
public init(errorType: CloverDeviceErrorType, code: Int?, cause: Error?, message: String)