DefaultErrorCategoryEnum.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #region --------------- Copyright Dresser Wayne Pignone -------------
  2. /*
  3. * $Log: /Wrk/WayneLibraries/Wrk/Log/DefaultErrorCategoryEnum.cs $
  4. *
  5. * 2 08-02-13 9:25 Mattias.larsson
  6. * FxCop fixes.
  7. */
  8. #endregion
  9. namespace Wayne.Lib.Log
  10. {
  11. /// <summary>
  12. /// This is the default set up of error categories to be used when logging ErrorLogEntries.
  13. /// </summary>
  14. public enum DefaultErrorCategory
  15. {
  16. #region Fields
  17. /// <summary>
  18. /// Whoops. Our mistake. A bug.
  19. /// </summary>
  20. Bug,
  21. /// <summary>
  22. /// This error is due to a badly configured system.
  23. /// </summary>
  24. Configurational,
  25. /// <summary>
  26. /// This error occurred as a result of some communication problems.
  27. /// </summary>
  28. Communication,
  29. /// <summary>
  30. /// Some kind of Peripheral equipment failed in some way.
  31. /// </summary>
  32. Peripheral,
  33. /// <summary>
  34. /// The program got an unexpected result from some kind of operation.
  35. /// This could for instance be a computed value that is out of the allowed range.
  36. /// </summary>
  37. UnexpectedResult,
  38. /// <summary>
  39. /// Invalid XML data.
  40. /// </summary>
  41. XmlValidation
  42. #endregion
  43. }
  44. }