Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ RootErr
Function
RootErr
errors/errors.go:61–66 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
59
}
60
61
func
RootErr(err error) error {
62
if
err, ok := err.(DetailError); ok {
63
return
err.GetRoot()
64
}
65
return
err
66
}
Callers
1
TestNewDetailErr
Function · 0.85
Calls
1
GetRoot
Method · 0.65
Tested by
1
TestNewDetailErr
Function · 0.68