Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dearcode/candy
/ Error
Struct
Error
client/util.go:17–20 ·
view source on GitHub ↗
Error 返回错误
Source
from the content-addressed store, hash-verified
15
16
// Error 返回错误
17
type
Error
struct
{
18
Code int32
19
Msg string
20
}
21
22
// NewError - create an new Error
23
func
NewError(code int32, msg string) *Error {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected