123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- # -*- coding: utf-8 -*-
-
-
- class TracimError(Exception):
- pass
-
-
- class TracimException(Exception):
- pass
-
-
- class RunTimeError(TracimError):
- pass
-
-
- class ContentRevisionUpdateError(RuntimeError):
- pass
-
-
- class ContentRevisionDeleteError(ContentRevisionUpdateError):
- pass
-
-
- class ConfigurationError(TracimError):
- pass
-
-
- class UserAlreadyExistError(TracimError):
- pass
-
-
- class BadCommandError(TracimError):
- pass
-
-
- class DaemonException(TracimException):
- pass
-
-
- class AlreadyRunningDaemon(DaemonException):
- pass
-
-
- class CalendarException(TracimException):
- pass
-
-
- class UnknownCalendarType(CalendarException):
- pass
-
-
- class NotFound(TracimException):
- pass
-
-
- class SameValueError(ValueError):
- pass
-
-
- class NotAuthenticated(TracimException):
- pass
-
-
- class WorkspaceNotFound(NotFound):
- pass
-
-
- class WorkspaceNotFoundInTracimRequest(NotFound):
- pass
-
-
- class InsufficientUserRoleInWorkspace(TracimException):
- pass
-
-
- class InsufficientUserProfile(TracimException):
- pass
-
-
- class ImmutableAttribute(TracimException):
- pass
-
-
- class DigestAuthNotImplemented(Exception):
- pass
-
-
- class AuthenticationFailed(TracimException):
- pass
-
-
- class WrongUserPassword(TracimException):
- pass
-
-
- class NotificationNotSend(TracimException):
- pass
-
-
- class GroupDoesNotExist(TracimError):
- pass
-
-
- class ContentStatusNotExist(TracimError):
- pass
-
-
- class ContentTypeNotExist(TracimError):
- pass
-
-
- class UserDoesNotExist(TracimException):
- pass
-
-
- class UserNotFoundInTracimRequest(TracimException):
- pass
-
-
- class ContentNotFoundInTracimRequest(TracimException):
- pass
-
-
- class InvalidId(TracimException):
- pass
-
-
- class InvalidContentId(InvalidId):
- pass
-
-
- class InvalidCommentId(InvalidId):
- pass
-
-
- class InvalidWorkspaceId(InvalidId):
- pass
-
-
- class InvalidUserId(InvalidId):
- pass
-
-
- class ContentNotFound(TracimException):
- pass
-
-
- class ContentTypeNotAllowed(TracimException):
- pass
-
-
- class WorkspacesDoNotMatch(TracimException):
- pass
-
-
- class PasswordDoNotMatch(TracimException):
- pass
-
-
- class EmptyValueNotAllowed(TracimException):
- pass
-
-
- class EmptyLabelNotAllowed(EmptyValueNotAllowed):
- pass
-
-
- class EmptyCommentContentNotAllowed(EmptyValueNotAllowed):
- pass
-
-
- class UserNotActive(TracimException):
- pass
-
-
- class NoUserSetted(TracimException):
- pass
-
-
- class RoleDoesNotExist(TracimException):
- pass
-
-
- class EmailValidationFailed(TracimException):
- pass
-
-
- class UserCreationFailed(TracimException):
- pass
-
-
- class ParentNotFound(NotFound):
- pass
-
-
- class RevisionDoesNotMatchThisContent(TracimException):
- pass
-
-
- class PageOfPreviewNotFound(NotFound):
- pass
-
-
- class PreviewDimNotAllowed(TracimException):
- pass
|