PurchasesErrorCode

enum PurchasesErrorCode : Enum<PurchasesErrorCode>

Entries

UnsupportedError
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.")
ConfigurationError
Link copied to clipboard
ConfigurationError(23, "There is an issue with your configuration. Check the underlying error for more details.")
LogOutWithAnonymousUserError
Link copied to clipboard
LogOutWithAnonymousUserError(22, "Called logOut but the current user is anonymous.")
InvalidSubscriberAttributesError
Link copied to clipboard
InvalidSubscriberAttributesError(21, "One or more of the attributes sent could not be saved.")
PaymentPendingError
Link copied to clipboard
PaymentPendingError(20, "The payment is pending.")
InsufficientPermissionsError
Link copied to clipboard
InsufficientPermissionsError(19, "App does not have sufficient permissions to make purchases.")
IneligibleError
Link copied to clipboard
IneligibleError(18, "The User is ineligible for that action.")
InvalidAppleSubscriptionKeyError
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.")
UnknownBackendError
Link copied to clipboard
UnknownBackendError(16, "There was an unknown backend error.")
OperationAlreadyInProgressError
Link copied to clipboard
OperationAlreadyInProgressError(15, "The operation is already in progress.")
InvalidAppUserIdError
Link copied to clipboard
InvalidAppUserIdError(14, "The app user id is not valid.")
UnexpectedBackendResponseError
Link copied to clipboard
UnexpectedBackendResponseError(12, "Received malformed response from the backend.")
InvalidCredentialsError
Link copied to clipboard
InvalidCredentialsError(11, "There was a credentials issue. Check the underlying error for more details.")
NetworkError
Link copied to clipboard
NetworkError(10, "Error performing request.")
MissingReceiptFileError
Link copied to clipboard
MissingReceiptFileError(9, "The receipt is missing.")
InvalidReceiptError
Link copied to clipboard
InvalidReceiptError(8, "The receipt is not valid.")
ReceiptAlreadyInUseError
Link copied to clipboard
ReceiptAlreadyInUseError(7, "There is already another active subscriber using the same receipt.")
ProductAlreadyPurchasedError
Link copied to clipboard
ProductAlreadyPurchasedError(6, "This product is already active for the user.")
ProductNotAvailableForPurchaseError
Link copied to clipboard
ProductNotAvailableForPurchaseError(5, "The product is not available for purchase.")
PurchaseInvalidError
Link copied to clipboard
PurchaseInvalidError(4, "One or more of the arguments provided are invalid.")
PurchaseNotAllowedError
Link copied to clipboard
PurchaseNotAllowedError(3, "The device or user is not allowed to make the purchase.")
StoreProblemError
Link copied to clipboard
StoreProblemError(2, "There was a problem with the Play Store.")
PurchaseCancelledError
Link copied to clipboard
PurchaseCancelledError(1, "Purchase was cancelled.")
UnknownError
Link copied to clipboard
UnknownError(0, "Unknown error.")

Properties

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