예제 #1
0
 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;
 }
예제 #3
0
 public void OnError(PurchasesError purchasesError, bool userCancelled)
 {
     ReportException(new PurchasesErrorException(purchasesError, userCancelled));
 }