更新 Python/exceptions.py
This commit is contained in:
@@ -34,10 +34,3 @@ class BaseException(Exception):
|
||||
result["error"]["details"] = self.details
|
||||
|
||||
return result
|
||||
|
||||
|
||||
class UserAccountNotFoundException(BaseException):
|
||||
"""用户账户不存在异常"""
|
||||
|
||||
def __init__(self, user_id=None, *args, **kwargs):
|
||||
super().__init__(msg="用户账户不存在", code="USER001", *args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user