Example #1
0
 private void OnBackendEventError(BackendEventError error)
 {
     try
     {
         System.Diagnostics.Debug.WriteLine(error.ToString());
         Notifications.CreateError(error);
     }
     catch (Exception uiEx) { UIError(uiEx); }
 }
Example #2
0
 public void CreateError(BackendEventError error)
 {
     try
     {
         var errorMessage = Helper.Translate("ErrorType" + error.Error.ToString());
         CreateError(error.Policy, error.Id, errorMessage, error.Message);
     }
     catch (Exception uiEx) { Frontend.UIError(uiEx); }
 }