VOErrorCode
enum VOErrorCode {}
VOErrorCode is a list of internal error codes that can be returned inside of a VOError.
-
The user is claiming a location based gift and is too far away.
Declaration
Objective-C
VOErrorCodeClaimTooFarAway = 100Swift
case claimTooFarAway = 100 -
Too many requests have been made to the VouchrServer in a short amount of time.
Declaration
Objective-C
VOErrorCodeTooManyRequests = 429Swift
case tooManyRequests = 429 -
API limits exceeded.
Declaration
Objective-C
VOErrorCodeLimitsExceeded = 12000Swift
case limitsExceeded = 12000 -
The user is already registered.
Declaration
Objective-C
VOErrorCodeRegisterDuplicateAccount = 12001Swift
case registerDuplicateAccount = 12001 -
The user is missing a contact method.
Declaration
Objective-C
VOErrorCodeRegisterMissingContactMethod = 12002Swift
case registerMissingContactMethod = 12002 -
The user has not verified their contact method.
Declaration
Objective-C
VOErrorCodeRegisterUnverifiedContactMethod = 12003Swift
case registerUnverifiedContactMethod = 12003 -
The user’s account has been disabled.
Declaration
Objective-C
VOErrorCodeRegisterUserDisabled = 12004Swift
case registerUserDisabled = 12004 -
The user logging in has a duplicate account.
Declaration
Objective-C
VOErrorCodeLoginDuplicateAccount = 14001Swift
case loginDuplicateAccount = 14001 -
The user is missing a contact method.
Declaration
Objective-C
VOErrorCodeLoginMissingContactMethod = 14002Swift
case loginMissingContactMethod = 14002 -
The user has not verified their contact method.
Declaration
Objective-C
VOErrorCodeLoginUnverifiedContactMethod = 14003Swift
case loginUnverifiedContactMethod = 14003 -
The user’s account has been disabled.
Declaration
Objective-C
VOErrorCodeLoginUserDisabled = 14004Swift
case loginUserDisabled = 14004 -
The user is not found and needs to register.
Declaration
Objective-C
VOErrorCodeLoginUserNotFound = 14005Swift
case loginUserNotFound = 14005 -
The product has a bad url.
Declaration
Objective-C
VOErrorCodeProductBadUrl = 8001Swift
case productBadUrl = 8001 -
Failed to look up DNS for the product.
Declaration
Objective-C
VOErrorCodeProductDNSLookupFailed = 8002Swift
case productDNSLookupFailed = 8002 -
Failed to connect to the product API.
Declaration
Objective-C
VOErrorCodeProductConnectFailed = 8003Swift
case productConnectFailed = 8003 -
Failed to find the product.
Declaration
Objective-C
VOErrorCodeProductNotFound = 8404Swift
case productNotFound = 8404 -
Product API temporarily unavailable.
Declaration
Objective-C
VOErrorCodeProductRetryLater = 8503Swift
case productRetryLater = 8503 -
Invalid currency provided for the given Product.
Declaration
Objective-C
VOErrorCodeProductInvalidCurrency = 8100Swift
case productInvalidCurrency = 8100 -
Generic error.
Declaration
Objective-C
VOErrorCodeGenericError = 10000Swift
case genericError = 10000 -
Generic HTTP error.
Declaration
Objective-C
VOErrorCodeHttpError = 11000Swift
case httpError = 11000 -
The gift has already been claimed.
Declaration
Objective-C
VOErrorCodeGiftStatusClaimed = 1001Swift
case giftStatusClaimed = 1001 -
The gift has been removed.
Declaration
Objective-C
VOErrorCodeGiftStatusRemoved = 1002Swift
case giftStatusRemoved = 1002 -
The gift has been frozen.
Declaration
Objective-C
VOErrorCodeGiftStatusFrozen = 1003Swift
case giftStatusFrozen = 1003 -
The gift had an unknown status error.
Declaration
Objective-C
VOErrorCodeGiftStatusError = 1004Swift
case giftStatusError = 1004 -
This user cannot access this gift.
Declaration
Objective-C
VOErrorCodeGiftAccessDenied = 1005Swift
case giftAccessDenied = 1005 -
Failed to find the gift.
Declaration
Objective-C
VOErrorCodeGiftNotFound = 1006Swift
case giftNotFound = 1006 -
The gift has already been claimed.
Declaration
Objective-C
VOErrorCodeGiftAlreadyClaimed = 1007Swift
case giftAlreadyClaimed = 1007 -
This user is no longer able to claim this gift.
Declaration
Objective-C
VOErrorCodeGiftUserDisabled = 1008Swift
case giftUserDisabled = 1008 -
The gift has reached its limit.
Declaration
Objective-C
VOErrorCodeGiftLimitReached = 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
VOErrorCodeGiftDateTooSoon = 1010Swift
case giftDateTooSoon = 1010 -
The user failed to complete the challenge to claim the gift.
Declaration
Objective-C
VOErrorCodeGiftChallengeFailed = 1011Swift
case giftChallengeFailed = 1011 -
Payment information is not ready for the gift.
Declaration
Objective-C
VOErrorCodeGiftPaymentNotReady = 1012Swift
case giftPaymentNotReady = 1012 -
No score was given for the gift, but a score is required.
Declaration
Objective-C
VOErrorCodeGiftHasNoRequiredScore = 1013Swift
case giftHasNoRequiredScore = 1013 -
No photo was given for the gift, but a photo is required.
Declaration
Objective-C
VOErrorCodeGiftHasNoRequiredPhoto = 1014Swift
case giftHasNoRequiredPhoto = 1014 -
The user’s account has been disabled.
Declaration
Objective-C
VOErrorCodeUserDisabled = 2001Swift
case userDisabled = 2001 -
The user’s account was not found.
Declaration
Objective-C
VOErrorCodeUserNotFound = 2002Swift
case userNotFound = 2002 -
The user’s account has a conflicting network.
Declaration
Objective-C
VOErrorCodeUserConflictNetwork = 2003Swift
case userConflictNetwork = 2003 -
The user’s account has a conflicting email.
Declaration
Objective-C
VOErrorCodeUserContlictEmail = 2004Swift
case userContlictEmail = 2004 -
The user’s account has a conflicting network with another account.
Declaration
Objective-C
VOErrorCodeUserLinkAssociatedWithOtherAccount = 2005Swift
case userLinkAssociatedWithOtherAccount = 2005 -
The user’s account does not support linking with this network.
Declaration
Objective-C
VOErrorCodeUserLinkUnsupportedNetwork = 2006Swift
case userLinkUnsupportedNetwork = 2006 -
The user’s account failed to authenticate with the network.
Declaration
Objective-C
VOErrorCodeUserLinkInvalidAuth = 2007Swift
case userLinkInvalidAuth = 2007 -
A bad id was given in the request.
Declaration
Objective-C
VOErrorCodeBadId = 3001Swift
case badId = 3001 -
This request failed authentication and needs to be authorized to continue.
Declaration
Objective-C
VOErrorCodeUnauthorized = 3002Swift
case unauthorized = 3002 -
There was a bad or missing parameter in the request.
Declaration
Objective-C
VOErrorCodeBadParam = 3003Swift
case badParam = 3003 -
The client needs to update before this request can succeed.
Declaration
Objective-C
VOErrorCodeUpdateClient = 3004Swift
case updateClient = 3004 -
This request is not allowed.
Declaration
Objective-C
VOErrorCodeForbidden = 3005Swift
case forbidden = 3005 -
Unknown server exception occurred.
Declaration
Objective-C
VOErrorCodeServerException = -10Swift
case serverException = -10 -
The max quantity for the invite code has already been reached.
Declaration
Objective-C
VOErrorCodeInviteCodeQuantity = 6001Swift
case inviteCodeQuantity = 6001 -
The invite code has expired.
Declaration
Objective-C
VOErrorCodeInviteCodeExpire = 6002Swift
case inviteCodeExpire = 6002 -
The invite code is trying to be used by the creator of the invite code.
Declaration
Objective-C
VOErrorCodeInviteCodeClaimerSelf = 6003Swift
case inviteCodeClaimerSelf = 6003 -
The invite code has a duplicate receiver.
Declaration
Objective-C
VOErrorCodeInviteCodeDuplicateTo = 6004Swift
case inviteCodeDuplicateTo = 6004 -
the invite code has a duplicate claimer.
Declaration
Objective-C
VOErrorCodeInviteCodeDuplicateClaimer = 6005Swift
case inviteCodeDuplicateClaimer = 6005 -
This invite code was not found.
Declaration
Objective-C
VOErrorCodeInviteCodeNotFound = 6006Swift
case inviteCodeNotFound = 6006 -
This promo has already been claimed.
Declaration
Objective-C
VOErrorCodePromoClaimed = 7000Swift
case promoClaimed = 7000 -
This promo has expired.
Declaration
Objective-C
VOErrorCodePromoExpired = 7001Swift
case promoExpired = 7001 -
This promo has not started yet.
Declaration
Objective-C
VOErrorCodePromoUnstarted = 7002Swift
case promoUnstarted = 7002 -
This promo has reached its maximum number of users.
Declaration
Objective-C
VOErrorCodePromoExhaused = 7003Swift
case promoExhaused = 7003 -
This promo code is not available.
Declaration
Objective-C
VOErrorCodePromoUnavailable = 7004Swift
case promoUnavailable = 7004 -
this promo code is invalid.
Declaration
Objective-C
VOErrorCodePromoInvalid = 7005Swift
case promoInvalid = 7005 -
There was an unknown error processing payment.
Declaration
Objective-C
VOErrorCodePaymentError = 9000Swift
case paymentError = 9000 -
There was an error processing the creator’s payment method.
Declaration
Objective-C
VOErrorCodePaymentCreatorError = 9100Swift
case paymentCreatorError = 9100 -
There was an error transferring the payment to the claimer.
Declaration
Objective-C
VOErrorCodePaymentClaimerError = 9200Swift
case paymentClaimerError = 9200 -
There was an error on the server with the payment.
Declaration
Objective-C
VOErrorCodePaymentServerError = 9300Swift
case paymentServerError = 9300 -
An invalid currency was proviced for the VOMerchant.
Declaration
Objective-C
VOErrorCodeMerchantSearchInvalidCurrency = 10100Swift
case merchantSearchInvalidCurrency = 10100 -
This item was not found in the feed.
Declaration
Objective-C
VOErrorCodeFeedItemNotFound = 114004Swift
case feedItemNotFound = 114004 -
Generic not found error.
Declaration
Objective-C
VOErrorCodeGenericNotFound = 99404Swift
case genericNotFound = 99404 -
Generic timeout error.
Declaration
Objective-C
VOErrorCodeRequestTimeoutError = 10408Swift
case requestTimeoutError = 10408
View on GitHub
VOErrorCode Enumeration Reference