dify/api/services/errors/account.py
Bowen Liang 17fd773a30
chore(api/services): apply ruff reformatting (#7599)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-08-26 13:43:57 +08:00

58 lines
865 B
Python

from services.errors.base import BaseServiceError
class AccountNotFound(BaseServiceError):
pass
class AccountRegisterError(BaseServiceError):
pass
class AccountLoginError(BaseServiceError):
pass
class AccountNotLinkTenantError(BaseServiceError):
pass
class CurrentPasswordIncorrectError(BaseServiceError):
pass
class LinkAccountIntegrateError(BaseServiceError):
pass
class TenantNotFound(BaseServiceError):
pass
class AccountAlreadyInTenantError(BaseServiceError):
pass
class InvalidActionError(BaseServiceError):
pass
class CannotOperateSelfError(BaseServiceError):
pass
class NoPermissionError(BaseServiceError):
pass
class MemberNotInTenantError(BaseServiceError):
pass
class RoleAlreadyAssignedError(BaseServiceError):
pass
class RateLimitExceededError(BaseServiceError):
pass