MCPcopy Index your code
hub / github.com/Tencent/CodeAnalysis / ServerError

Class ServerError

server/projects/main/util/exceptions.py:51–57  ·  view source on GitHub ↗

CodeDog Server异常错误类型。遇到异常时,需要抛出ServerError,指定code和msg:: raise ServerError(100, "server error msg")

Source from the content-addressed store, hash-verified

49
50
51class ServerError(CDErrorBase):
52 """
53 CodeDog Server异常错误类型。遇到异常时,需要抛出ServerError,指定code和msg::
54
55 raise ServerError(100, "server error msg")
56 """
57 pass
58
59
60class ServerConfigError(ServerError):

Callers 5

encryptFunction · 0.90
decryptFunction · 0.90
put_fileMethod · 0.90
get_fileMethod · 0.90
delete_fileMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected