private void OnBackendEventError(BackendEventError error) { try { System.Diagnostics.Debug.WriteLine(error.ToString()); Notifications.CreateError(error); } catch (Exception uiEx) { UIError(uiEx); } }
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); } }