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

Class ServerError

server/projects/analysis/util/exceptions.py:38–44  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

36
37
38class ServerError(CDErrorBase):
39 """
40 CodeDog Server异常错误类型。遇到异常时,需要抛出ServerError,指定code和msg::
41
42 raise ServerError(100, "server error msg")
43 """
44 pass
45
46
47class BaseServerError(Exception):

Callers 6

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

Calls

no outgoing calls

Tested by

no test coverage detected