MCPcopy
hub / github.com/1Panel-dev/MaxKB / AppApiException

Class AppApiException

apps/common/exception/app_exception.py:12–20  ·  view source on GitHub ↗

项目内异常

Source from the content-addressed store, hash-verified

10
11
12class AppApiException(Exception):
13 """
14 项目内异常
15 """
16 status_code = status.HTTP_200_OK
17
18 def __init__(self, code, message):
19 self.code = code
20 self.message = message
21
22
23class NotFound404(AppApiException):

Callers 15

_check_unique_emailMethod · 0.90
_check_user_existsMethod · 0.90
_check_not_adminMethod · 0.90
re_passwordMethod · 0.90
batch_deleteMethod · 0.90
update_user_roleFunction · 0.90
is_validMethod · 0.90
is_validMethod · 0.90
is_validMethod · 0.90
sendMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected