Error

data class Error(val exception: Exception) : PurchaseState

Represents the state where the purchase operation has failed.

Constructors

Link copied to clipboard
constructor(exception: Exception)

Properties

Link copied to clipboard

The exception that occurred during the purchase process. This can be used to display an informative error message to the user or for logging and debugging purposes. This can be one of PurchasesTransactionException or CancellationException.