mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-05 04:38:37 +08:00
59 lines
866 B
Python
59 lines
866 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
|
|
|