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