An error triggered by the In-App Purchase plugin

interface IError {
    code: CdvPurchase.ErrorCode;
    isError: true;
    message: string;
    platform: null | Platform;
    productId: null | string;
}

Properties

isError: true

Indicates that the returned object is an error

message: string

Human readable message, in plain english

platform: null | Platform

Optional platform the error occured on

productId: null | string

Optional ID of the product the error occurred on