PurchasesErrorCode

enum PurchasesErrorCode : Enum<PurchasesErrorCode>

Entries

Link copied to clipboard
CustomerInfoError(28, "There was a problem related to the customer info.")
Link copied to clipboard
EmptySubscriberAttributesError(25, "A request for subscriber attributes returned none.")
Link copied to clipboard
UnsupportedError(24, "There was a problem with the operation. Looks like we doesn't support " + "that yet. Check the underlying error for more details.")
Link copied to clipboard
ConfigurationError(23, "There is an issue with your configuration. Check the underlying error for more details.")
Link copied to clipboard
LogOutWithAnonymousUserError(22, "Called logOut but the current user is anonymous.")
Link copied to clipboard
InvalidSubscriberAttributesError(21, "One or more of the attributes sent could not be saved.")
Link copied to clipboard
PaymentPendingError(20, "The payment is pending.")
Link copied to clipboard
InsufficientPermissionsError(19, "App does not have sufficient permissions to make purchases.")
Link copied to clipboard
IneligibleError(18, "The User is ineligible for that action.")
Link copied to clipboard
InvalidAppleSubscriptionKeyError(17, "Apple Subscription Key is invalid or not present. " + "In order to provide subscription offers, you must first generate a subscription key. " + "Please see https://docs.revenuecat.com/docs/ios-subscription-offers for more info.")
Link copied to clipboard
UnknownBackendError(16, "There was an unknown backend error.")
Link copied to clipboard
OperationAlreadyInProgressError(15, "The operation is already in progress.")
Link copied to clipboard
InvalidAppUserIdError(14, "The app user id is not valid.")
Link copied to clipboard
UnexpectedBackendResponseError(12, "Received malformed response from the backend.")
Link copied to clipboard
InvalidCredentialsError(11, "There was a credentials issue. Check the underlying error for more details.")
Link copied to clipboard
NetworkError(10, "Error performing request.")
Link copied to clipboard
MissingReceiptFileError(9, "The receipt is missing.")
Link copied to clipboard
InvalidReceiptError(8, "The receipt is not valid.")
Link copied to clipboard
ReceiptAlreadyInUseError(7, "There is already another active subscriber using the same receipt.")
Link copied to clipboard
ProductAlreadyPurchasedError(6, "This product is already active for the user.")
Link copied to clipboard
ProductNotAvailableForPurchaseError(5, "The product is not available for purchase.")
Link copied to clipboard
PurchaseInvalidError(4, "One or more of the arguments provided are invalid.")
Link copied to clipboard
PurchaseNotAllowedError(3, "The device or user is not allowed to make the purchase.")
Link copied to clipboard
StoreProblemError(2, "There was a problem with the store.")
Link copied to clipboard
PurchaseCancelledError(1, "Purchase was cancelled.")
Link copied to clipboard
UnknownError(0, "Unknown error.")

Properties

Link copied to clipboard
val code: Int
Link copied to clipboard
val description: String
Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int

Sources

Link copied to clipboard