Esempio n. 1
0
        public static void GoToTechnicalError(UIViewController parent, LogSeverity severity, Exception e, string errorMessage)
        {
            UIViewController newVC = ErrorPageViewController.Create(ErrorViewModel.REGISTER_ERROR_HEADER, errorMessageTxt: ErrorViewModel.REGISTER_ERROR_DESCRIPTION);

            LogUtils.LogException(severity, e, errorMessage);
            GoToVC(parent, newVC);
        }
Esempio n. 2
0
        public static void GoToManyTriesError(UIViewController parent, LogSeverity severity, Exception e, string printMessage)
        {
            UIViewController newVC = ErrorPageViewController.Create(ErrorViewModel.REGISTER_ERROR_TOOMANYTRIES_HEADER, errorMessageTxt: ErrorViewModel.REGISTER_ERROR_TOOMANYTRIES_DESCRIPTION);

            LogUtils.LogException(severity, e, printMessage);
            GoToVC(parent, newVC);
        }