onError

abstract fun onError(error: PurchasesError)

Will be called after the call has completed with an error.

Parameters

error

A PurchasesError containing the reason for the failure of the call