Skip to main content

PurchaseError

react-native-iap / Exports / PurchaseError

Class: PurchaseError

Implements

  • Error

Table of contents

Constructors

Properties

Constructors

constructor

new PurchaseError(name, message, responseCode?, debugMessage?, code?, productId?)

Parameters

NameType
namestring
messagestring
responseCode?number
debugMessage?string
code?ErrorCode
productId?string

Defined in

purchaseError.ts:22

Properties

code

Optional code: ErrorCode

Defined in

purchaseError.ts:27


debugMessage

Optional debugMessage: string

Defined in

purchaseError.ts:26


message

message: string

Implementation of

Error.message

Defined in

purchaseError.ts:24


name

name: string

Implementation of

Error.name

Defined in

purchaseError.ts:23


productId

Optional productId: string

Defined in

purchaseError.ts:28


responseCode

Optional responseCode: number

Defined in

purchaseError.ts:25