PurchasesErrorCode enum

Different error codes returned by the Purchases functions.

Inheritance

Constructors

PurchasesErrorCode()
const

Values

unknownError → const PurchasesErrorCode

Unknown error

purchaseCancelledError → const PurchasesErrorCode

Purchase was cancelled.

storeProblemError → const PurchasesErrorCode

There was a problem with the store.

purchaseNotAllowedError → const PurchasesErrorCode

The device or user is not allowed to make the purchase.

purchaseInvalidError → const PurchasesErrorCode

One or more of the arguments provided are invalid.

productNotAvailableForPurchaseError → const PurchasesErrorCode

The product is not available for purchase.

productAlreadyPurchasedError → const PurchasesErrorCode

This product is already active for the user.

receiptAlreadyInUseError → const PurchasesErrorCode

There is already another active subscriber using the same receipt.

invalidReceiptError → const PurchasesErrorCode

The receipt is not valid.

missingReceiptFileError → const PurchasesErrorCode

The receipt is missing.

networkError → const PurchasesErrorCode

Error performing request.

invalidCredentialsError → const PurchasesErrorCode

There was a credentials issue. Check the message for more info.

unexpectedBackendResponseError → const PurchasesErrorCode

Received malformed response from the backend.

receiptInUseByOtherSubscriberError → const PurchasesErrorCode

There is already another active subscriber using the same receipt.

invalidAppUserIdError → const PurchasesErrorCode

The app user id is not valid.

operationAlreadyInProgressError → const PurchasesErrorCode

The operation is already in progress.

unknownBackendError → const PurchasesErrorCode

There was an unknown backend error.

invalidAppleSubscriptionKeyError → const PurchasesErrorCode

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.

ineligibleError → const PurchasesErrorCode

The User is ineligible for that action.

insufficientPermissionsError → const PurchasesErrorCode

App does not have sufficient permissions to make purchases.

paymentPendingError → const PurchasesErrorCode

The payment is pending.

invalidSubscriberAttributesError → const PurchasesErrorCode

One or more of the attributes sent could not be saved.

logOutWithAnonymousUserError → const PurchasesErrorCode

Called logOut but the current user is anonymous.

configurationError → const PurchasesErrorCode

There is an issue with your configuration. Check the underlying error for more details.

unsupportedError → const PurchasesErrorCode

There was a problem with the operation. Looks like we doesn't support that yet. Check the underlying error for more details.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PurchasesErrorCode>
A constant List of the values in this enum, in order of their declaration.