public void OnError(PurchasesError error) { ReportException(new PurchasesErrorException(error, false)); }
public PurchasesErrorException(PurchasesError purchasesError, bool userCancelled) : base($"{purchasesError?.Message} ({purchasesError?.UnderlyingErrorMessage}) code: {purchasesError?.Code} userCancelled: {userCancelled}") { PurchasesError = purchasesError; UserCancelled = userCancelled; }
public void OnError(PurchasesError purchasesError, bool userCancelled) { ReportException(new PurchasesErrorException(purchasesError, userCancelled)); }