ZSError
data class ZSError(val code: ZSErrorCode, val message: String, val errorInfo: ArrayList<Map<String, Any>>? = null)
This class represents the error that is sent from the SDK.
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.
error Info
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.