onError

abstract fun onError(@NonNull 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