mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
4fd2743efa
Co-authored-by: douxc <douxc512@gmail.com> Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
62 lines
932 B
Python
62 lines
932 B
Python
from services.errors.base import BaseServiceError
|
|
|
|
|
|
class AccountNotFoundError(BaseServiceError):
|
|
pass
|
|
|
|
|
|
class AccountRegisterError(BaseServiceError):
|
|
pass
|
|
|
|
|
|
class AccountLoginError(BaseServiceError):
|
|
pass
|
|
|
|
|
|
class AccountPasswordError(BaseServiceError):
|
|
pass
|
|
|
|
|
|
class AccountNotLinkTenantError(BaseServiceError):
|
|
pass
|
|
|
|
|
|
class CurrentPasswordIncorrectError(BaseServiceError):
|
|
pass
|
|
|
|
|
|
class LinkAccountIntegrateError(BaseServiceError):
|
|
pass
|
|
|
|
|
|
class TenantNotFoundError(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
|