Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/IceWhaleTech/CasaOS
/ GetMsg
Function
GetMsg
pkg/utils/common_err/e.go:121–127 ·
view source on GitHub ↗
获取错误信息
(code int)
Source
from the content-addressed store, hash-verified
119
120
// 获取错误信息
121
func
GetMsg(code int) string {
122
msg, ok := MsgFlags[code]
123
if
ok {
124
return
msg
125
}
126
return
MsgFlags[SERVICE_ERROR]
127
}
Callers
15
GetSearchResult
Function · 0.92
GetFilerContent
Function · 0.92
GetLocalFile
Function · 0.92
GetDownloadFile
Function · 0.92
GetDownloadSingleFile
Function · 0.92
DirPath
Function · 0.92
RenamePath
Function · 0.92
MkdirAll
Function · 0.92
PostCreateFile
Function · 0.92
GetFileUpload
Function · 0.92
PostFileUpload
Function · 0.92
PostFileOctet
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected