service_man/api/domain/user/error.py

22 lines
304 B
Python
Raw Normal View History

2024-03-31 04:18:41 +03:00
from api.domain import DomainError
class UserNotFoundError(DomainError):
2024-04-08 23:55:30 +03:00
pass
2024-03-31 04:18:41 +03:00
class UserValidationError(DomainError):
2024-04-08 23:55:30 +03:00
pass
class UserInvalidCredentialsError(DomainError):
2024-04-08 23:55:30 +03:00
pass
class UserAlreadyExistsError(DomainError):
2024-04-08 23:55:30 +03:00
pass
class UserIsNotAuthorizedError(DomainError):
2024-04-08 23:55:30 +03:00
pass