2024-03-31 04:18:41 +03:00
|
|
|
from api.domain import DomainError
|
|
|
|
|
|
|
|
|
|
|
|
class UserNotFoundError(DomainError):
|
|
|
|
...
|
|
|
|
|
|
|
|
|
|
|
|
class UserValidationError(DomainError):
|
|
|
|
...
|
2024-04-01 01:12:01 +03:00
|
|
|
|
|
|
|
|
|
|
|
class UserInvalidCredentialsError(DomainError):
|
|
|
|
...
|
|
|
|
|
|
|
|
|
|
|
|
class UserAlreadyExistsError(DomainError):
|
|
|
|
...
|
|
|
|
|
|
|
|
|
|
|
|
class UserIsNotAuthorizedError(DomainError):
|
|
|
|
...
|