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

Class AppAuthenticationFailed

apps/common/exception/app_exception.py:34–42  ·  view source on GitHub ↗

未认证(未登录)异常

Source from the content-addressed store, hash-verified

32
33
34class AppAuthenticationFailed(AppApiException):
35 """
36 未认证(未登录)异常
37 """
38 status_code = status.HTTP_401_UNAUTHORIZED
39
40 def __init__(self, code, message):
41 self.code = code
42 self.message = message
43
44
45class AppUnauthorizedFailed(AppApiException):

Callers 9

postMethod · 0.90
getMethod · 0.90
executeMethod · 0.90
authenticateMethod · 0.90
authenticateMethod · 0.90
authenticateMethod · 0.90
handleMethod · 0.90
handleMethod · 0.90
handleMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected