ZSError

constructor(code: ZSErrorCode, message: String, errorInfo: ArrayList<Map<String, Any>>? = null)

Parameters

code

Corresponding error code from ZSErrorCode for the error.

message

The detailed description of the error. This message will be present only in English and will not be localized.

errorInfo

This additional error info will be available for ZSErrorCode.purchaseAlreadyProcessed and ZSErrorCode.noValidPurchasesFound which contains the subscription id of the already processed subscription or expired subscription user has purchased.