One Logo Pool Ball
StoreKit · IOS API REFERENCE

Product.PurchaseError

enum · iOS 15.0+ · SDK 27.1

enum PurchaseError

Members (3)

get · iOS 15.4+

failureReason

TypeScript
getFailureReason($self: Product_PurchaseError): (string) | null
Swift declaration
var failureReason: String? { get }

A localized message describing the reason for the failure.

get · iOS 15.4+

errorDescription

TypeScript
getErrorDescription($self: Product_PurchaseError): (string) | null
Swift declaration
var errorDescription: String? { get }

A localized message describing what error occurred.

get · iOS 15.4+

recoverySuggestion

TypeScript
getRecoverySuggestion($self: Product_PurchaseError): (string) | null
Swift declaration
var recoverySuggestion: String? { get }

A localized message describing how one might recover from the failure.

Skipped declarations

No declarations were skipped in this snapshot.

All StoreKit types →