exceptions.py 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. # -*- coding: utf-8 -*-
  2. class TracimError(Exception):
  3. pass
  4. class TracimException(Exception):
  5. pass
  6. class RunTimeError(TracimError):
  7. pass
  8. class ContentRevisionUpdateError(RuntimeError):
  9. pass
  10. class ContentRevisionDeleteError(ContentRevisionUpdateError):
  11. pass
  12. class ConfigurationError(TracimError):
  13. pass
  14. class AlreadyExistError(TracimError):
  15. pass
  16. class CommandError(TracimError):
  17. pass
  18. class CommandAbortedError(CommandError):
  19. pass
  20. class DaemonException(TracimException):
  21. pass
  22. class AlreadyRunningDaemon(DaemonException):
  23. pass
  24. class CalendarException(TracimException):
  25. pass
  26. class UnknownCalendarType(CalendarException):
  27. pass
  28. class NotFound(TracimException):
  29. pass
  30. class SameValueError(ValueError):
  31. pass
  32. class NotAuthentificated(TracimException):
  33. pass
  34. class WorkspaceNotFound(NotFound):
  35. pass
  36. class InsufficientUserWorkspaceRole(TracimException):
  37. pass
  38. class InsufficientUserProfile(TracimException):
  39. pass
  40. class ImmutableAttribute(TracimException):
  41. pass
  42. class DigestAuthNotImplemented(Exception):
  43. pass
  44. class LoginFailed(TracimException):
  45. pass
  46. class NotificationNotSend(TracimException):
  47. pass