# `PurchaseError` - class Represents the error class wich can throws in `purchase` method.
| ```typescript code: PurchaseErrorCode ``` | Gets the pruchase error code. |
| ```typescript message: string ``` | Gets the pruchase error message. |
| ```typescript nativeError: any ``` | Gets the native pruchase error object. On iOS: `SKError` On Android - `com.android.billingclient.api.BillingResult` |