9 #import <Foundation/Foundation.h>
27 #pragma mark - WPError constants.
56 #pragma mark - Error Codes.
107 #pragma mark - User facing messages.
112 #define WPUnexpectedErrorMessage NSLocalizedStringFromTable(@"There was an unexpected error.", @"WePay", @"There was an unexpected error.");
117 #define WPNoDataReturnedErrorMessage NSLocalizedStringFromTable(@"There was no data returned.", @"WePay", @"There was no data returned.");
122 #define WPCardReaderGeneralErrorMessage NSLocalizedStringFromTable(@"Swipe failed due to: (a) uneven swipe speed, (b) fast swipe, (c) slow swipe, or (d) damaged card.", @"WePay", @"Swipe failed due to: (a) uneven swipe speed, (b) fast swipe, (c) slow swipe, or (d) damaged card.");
127 #define WPCardReaderInitializationErrorMessage NSLocalizedStringFromTable(@"Failed to initialize card reader.", @"WePay", @"Failed to initialize card reader.");
132 #define WPCardReaderTimeoutErrorMessage NSLocalizedStringFromTable(@"Card reader timed out.", @"WePay", @"Card reader timed out.");
137 #define WPSignatureInvalidImageErrorMessage NSLocalizedStringFromTable(@"Inavlid signature image provided.", @"WePay", @"Inavlid signature image provided.");
142 #define WPNameNotFoundErrorMessage NSLocalizedStringFromTable(@"Name not found.", @"WePay", @"Name not found.");
FOUNDATION_EXPORT NSString *const kWPErrorSDKDomain
Definition: WPError.h:39
FOUNDATION_EXPORT NSString *const kWPErrorCategoryNone
Definition: WPError.h:49
FOUNDATION_EXPORT NSString *const kWPErrorCategoryKey
Definition: WPError.h:44
FOUNDATION_EXPORT NSString *const kWPErrorAPIDomain
Definition: WPError.h:33
FOUNDATION_EXPORT NSString *const kWPErrorCategoryCardReader
Definition: WPError.h:54
Definition: WPError.h:103
WPErrorCode
Definition: WPError.h:62