MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / error

Method error

ui/src/request/Result.ts:14–16  ·  view source on GitHub ↗
(message: string, code: number)

Source from the content-addressed store, hash-verified

12 return new Result('请求成功', 200, data)
13 }
14 static error(message: string, code: number) {
15 return new Result(message, code, null)
16 }
17}
18
19export default Result

Callers 7

perform_db_migrateFunction · 0.45
start_servicesFunction · 0.45
loadScriptFunction · 0.45
copyClickFunction · 0.45
MsgErrorFunction · 0.45
index.tsFile · 0.45
extractFilenameFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected