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.

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.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
val errorInfo: ArrayList<Map<String, Any>>? = null
Link copied to clipboard