更新 Python/exceptions.py

This commit is contained in:
2025-03-31 16:36:47 +00:00
parent a68730fa18
commit 1cba390b1c

View File

@@ -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)