VouchrErrorCode
enum VouchrErrorCode {}
VouchrErrorCode is a list of internal error codes that can be returned inside of a VoucherError.
-
The user is claiming a location based gift and is too far away.
Declaration
Objective-C
VouchrErrorCodeClaimTooFarAway = 100Swift
case claimTooFarAway = 100 -
Too many requests have been made to the VouchrServer in a short amount of time.
Declaration
Objective-C
VouchrErrorCodeTooManyRequests = 429Swift
case tooManyRequests = 429 -
API limits exceeded.
Declaration
Objective-C
VouchrErrorCodeLimitsExceeded = 12000Swift
case limitsExceeded = 12000 -
The user is already registered.
Declaration
Objective-C
VouchrErrorCodeRegisterDuplicateAccount = 12001Swift
case registerDuplicateAccount = 12001 -
The user is missing a contact method.
Declaration
Objective-C
VouchrErrorCodeRegisterMissingContactMethod = 12002Swift
case registerMissingContactMethod = 12002 -
The user has not verified their contact method.
Declaration
Objective-C
VouchrErrorCodeRegisterUnverifiedContactMethod = 12003Swift
case registerUnverifiedContactMethod = 12003 -
The user’s account has been disabled.
Declaration
Objective-C
VouchrErrorCodeRegisterUserDisabled = 12004Swift
case registerUserDisabled = 12004 -
The user logging in has a duplicate account.
Declaration
Objective-C
VouchrErrorCodeLoginDuplicateAccount = 14001Swift
case loginDuplicateAccount = 14001 -
The user is missing a contact method.
Declaration
Objective-C
VouchrErrorCodeLoginMissingContactMethod = 14002Swift
case loginMissingContactMethod = 14002 -
The user has not verified their contact method.
Declaration
Objective-C
VouchrErrorCodeLoginUnverifiedContactMethod = 14003Swift
case loginUnverifiedContactMethod = 14003 -
The user’s account has been disabled.
Declaration
Objective-C
VouchrErrorCodeLoginUserDisabled = 14004Swift
case loginUserDisabled = 14004 -
The user is not found and needs to register.
Declaration
Objective-C
VouchrErrorCodeLoginUserNotFound = 14005Swift
case loginUserNotFound = 14005 -
The product has a bad url.
Declaration
Objective-C
VouchrErrorCodeProductBadUrl = 8001Swift
case productBadUrl = 8001 -
Failed to look up DNS for the product.
Declaration
Objective-C
VouchrErrorCodeProductDNSLookupFailed = 8002Swift
case productDNSLookupFailed = 8002 -
Failed to connect to the product API.
Declaration
Objective-C
VouchrErrorCodeProductConnectFailed = 8003Swift
case productConnectFailed = 8003 -
Failed to find the product.
Declaration
Objective-C
VouchrErrorCodeProductNotFound = 8404Swift
case productNotFound = 8404 -
Product API temporarily unavailable.
Declaration
Objective-C
VouchrErrorCodeProductRetryLater = 8503Swift
case productRetryLater = 8503 -
Invalid currency provided for the given Product.
Declaration
Objective-C
VouchrErrorCodeProductInvalidCurrency = 8100Swift
case productInvalidCurrency = 8100 -
Generic error.
Declaration
Objective-C
VouchrErrorCodeGenericError = 10000Swift
case genericError = 10000 -
Generic HTTP error.
Declaration
Objective-C
VouchrErrorCodeHttpError = 11000Swift
case httpError = 11000 -
The gift has already been claimed.
Declaration
Objective-C
VouchrErrorCodeGiftStatusClaimed = 1001Swift
case giftStatusClaimed = 1001 -
The gift has been removed.
Declaration
Objective-C
VouchrErrorCodeGiftStatusRemoved = 1002Swift
case giftStatusRemoved = 1002 -
The gift has been frozen.
Declaration
Objective-C
VouchrErrorCodeGiftStatusFrozen = 1003Swift
case giftStatusFrozen = 1003 -
The gift had an unknown status error.
Declaration
Objective-C
VouchrErrorCodeGiftStatusError = 1004Swift
case giftStatusError = 1004 -
This user cannot access this gift.
Declaration
Objective-C
VouchrErrorCodeGiftAccessDenied = 1005Swift
case giftAccessDenied = 1005 -
Failed to find the gift.
Declaration
Objective-C
VouchrErrorCodeGiftNotFound = 1006Swift
case giftNotFound = 1006 -
The gift has already been claimed.
Declaration
Objective-C
VouchrErrorCodeGiftAlreadyClaimed = 1007Swift
case giftAlreadyClaimed = 1007 -
This user is no longer able to claim this gift.
Declaration
Objective-C
VouchrErrorCodeGiftUserDisabled = 1008Swift
case giftUserDisabled = 1008 -
The gift has reached its limit.
Declaration
Objective-C
VouchrErrorCodeGiftLimitReached = 1009Swift
case giftLimitReached = 1009 -
The gift has a claim date in the future and cannot be claimed until that date is reached.
Declaration
Objective-C
VouchrErrorCodeGiftDateTooSoon = 1010Swift
case giftDateTooSoon = 1010 -
The user failed to complete the challenge to claim the gift.
Declaration
Objective-C
VouchrErrorCodeGiftChallengeFailed = 1011Swift
case giftChallengeFailed = 1011 -
Payment information is not ready for the gift.
Declaration
Objective-C
VouchrErrorCodeGiftPaymentNotReady = 1012Swift
case giftPaymentNotReady = 1012 -
No score was given for the gift, but a score is required.
Declaration
Objective-C
VouchrErrorCodeGiftHasNoRequiredScore = 1013Swift
case giftHasNoRequiredScore = 1013 -
No photo was given for the gift, but a photo is required.
Declaration
Objective-C
VouchrErrorCodeGiftHasNoRequiredPhoto = 1014Swift
case giftHasNoRequiredPhoto = 1014 -
The user’s account has been disabled.
Declaration
Objective-C
VouchrErrorCodeUserDisabled = 2001Swift
case userDisabled = 2001 -
The user’s account was not found.
Declaration
Objective-C
VouchrErrorCodeUserNotFound = 2002Swift
case userNotFound = 2002 -
The user’s account has a conflicting network.
Declaration
Objective-C
VouchrErrorCodeUserConflictNetwork = 2003Swift
case userConflictNetwork = 2003 -
The user’s account has a conflicting email.
Declaration
Objective-C
VouchrErrorCodeUserContlictEmail = 2004Swift
case userContlictEmail = 2004 -
The user’s account has a conflicting network with another account.
Declaration
Objective-C
VouchrErrorCodeUserLinkAssociatedWithOtherAccount = 2005Swift
case userLinkAssociatedWithOtherAccount = 2005 -
The user’s account does not support linking with this network.
Declaration
Objective-C
VouchrErrorCodeUserLinkUnsupportedNetwork = 2006Swift
case userLinkUnsupportedNetwork = 2006 -
The user’s account failed to authenticate with the network.
Declaration
Objective-C
VouchrErrorCodeUserLinkInvalidAuth = 2007Swift
case userLinkInvalidAuth = 2007 -
A bad id was given in the request.
Declaration
Objective-C
VouchrErrorCodeBadId = 3001Swift
case badId = 3001 -
This request failed authentication and needs to be authorized to continue.
Declaration
Objective-C
VouchrErrorCodeUnauthorized = 3002Swift
case unauthorized = 3002 -
There was a bad or missing parameter in the request.
Declaration
Objective-C
VouchrErrorCodeBadParam = 3003Swift
case badParam = 3003 -
The client needs to update before this request can succeed.
Declaration
Objective-C
VouchrErrorCodeUpdateClient = 3004Swift
case updateClient = 3004 -
This request is not allowed.
Declaration
Objective-C
VouchrErrorCodeForbidden = 3005Swift
case forbidden = 3005 -
Unknown server exception occurred.
Declaration
Objective-C
VouchrErrorCodeServerException = -10Swift
case serverException = -10 -
The max quantity for the invite code has already been reached.
Declaration
Objective-C
VouchrErrorCodeInviteCodeQuantity = 6001Swift
case inviteCodeQuantity = 6001 -
The invite code has expired.
Declaration
Objective-C
VouchrErrorCodeInviteCodeExpire = 6002Swift
case inviteCodeExpire = 6002 -
The invite code is trying to be used by the creator of the invite code.
Declaration
Objective-C
VouchrErrorCodeInviteCodeClaimerSelf = 6003Swift
case inviteCodeClaimerSelf = 6003 -
The invite code has a duplicate receiver.
Declaration
Objective-C
VouchrErrorCodeInviteCodeDuplicateTo = 6004Swift
case inviteCodeDuplicateTo = 6004 -
the invite code has a duplicate claimer.
Declaration
Objective-C
VouchrErrorCodeInviteCodeDuplicateClaimer = 6005Swift
case inviteCodeDuplicateClaimer = 6005 -
This invite code was not found.
Declaration
Objective-C
VouchrErrorCodeInviteCodeNotFound = 6006Swift
case inviteCodeNotFound = 6006 -
This promo has already been claimed.
Declaration
Objective-C
VouchrErrorCodePromoClaimed = 7000Swift
case promoClaimed = 7000 -
This promo has expired.
Declaration
Objective-C
VouchrErrorCodePromoExpired = 7001Swift
case promoExpired = 7001 -
This promo has not started yet.
Declaration
Objective-C
VouchrErrorCodePromoUnstarted = 7002Swift
case promoUnstarted = 7002 -
This promo has reached its maximum number of users.
Declaration
Objective-C
VouchrErrorCodePromoExhaused = 7003Swift
case promoExhaused = 7003 -
This promo code is not available.
Declaration
Objective-C
VouchrErrorCodePromoUnavailable = 7004Swift
case promoUnavailable = 7004 -
this promo code is invalid.
Declaration
Objective-C
VouchrErrorCodePromoInvalid = 7005Swift
case promoInvalid = 7005 -
There was an unknown error processing payment.
Declaration
Objective-C
VouchrErrorCodePaymentError = 9000Swift
case paymentError = 9000 -
There was an error processing the creator’s payment method.
Declaration
Objective-C
VouchrErrorCodePaymentCreatorError = 9100Swift
case paymentCreatorError = 9100 -
There was an error transferring the payment to the claimer.
Declaration
Objective-C
VouchrErrorCodePaymentClaimerError = 9200Swift
case paymentClaimerError = 9200 -
There was an error on the server with the payment.
Declaration
Objective-C
VouchrErrorCodePaymentServerError = 9300Swift
case paymentServerError = 9300 -
An invalid currency was proviced for the Merchant.
Declaration
Objective-C
VouchrErrorCodeMerchantSearchInvalidCurrency = 10100Swift
case merchantSearchInvalidCurrency = 10100 -
This item was not found in the feed.
Declaration
Objective-C
VouchrErrorCodeFeedItemNotFound = 114004Swift
case feedItemNotFound = 114004 -
Generic not found error.
Declaration
Objective-C
VouchrErrorCodeGenericNotFound = 99404Swift
case genericNotFound = 99404 -
Generic timeout error.
Declaration
Objective-C
VouchrErrorCodeRequestTimeoutError = 10408Swift
case requestTimeoutError = 10408
View on GitHub
VouchrErrorCode Enumeration Reference