private void ErrorRecived(XsollaErrorRe pErrors) { mHasError = true; btnPay.interactable = false; mErrorPanel.GetComponentInChildren <Text>().text = pErrors.mErrorList[0].mMessage + "\n" + String.Format(StringHelper.PrepareFormatString(mUtils.GetTranslations().Get("error_code")), pErrors.mErrorList[0].mSupportCode); if (mVcRecalc) { virtCurrAmount.textComponent.color = StyleManager.Instance.GetColor(StyleManager.BaseColor.bg_error); virtCurrAmount.gameObject.GetComponent <ColorInputController>().pType = StyleManager.BaseSprite.bckg_input_error; virtCurrAmount.gameObject.GetComponent <ColorInputController>().UpdateSprite(); SetVirtError(); } else { realCurrAmount.textComponent.color = StyleManager.Instance.GetColor(StyleManager.BaseColor.bg_error); realCurrAmount.gameObject.GetComponent <ColorInputController>().pType = StyleManager.BaseSprite.bckg_input_error; realCurrAmount.gameObject.GetComponent <ColorInputController>().UpdateSprite(); SetRealError(); } }
/// <summary> /// Errors the recived. /// </summary> /// <param name="pErrors">P errors.</param> private void ErrorRecived(XsollaErrorRe pErrors) { ProgressBarBuyBtn(false); }
private void ErrorRecived(XsollaErrorRe pErrors) { // описание ошибки }
private void ErrorRecived(XsollaErrorRe pError) { }
private void ErrorRecived(XsollaErrorRe pError) { Logger.LogError("Error to get detail on subs!" + pError.ToString()); }