Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ ErrerCode
Function
ErrerCode
errors/errcode.go:112–117 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
110
}
111
112
func
ErrerCode(err error) ErrCode {
113
if
err, ok := err.(ErrCoder); ok {
114
return
err.GetErrCode()
115
}
116
return
ErrUnknown
117
}
Callers
1
TestNewDetailErr
Function · 0.85
Calls
1
GetErrCode
Method · 0.65
Tested by
1
TestNewDetailErr
Function · 0.68