MCPcopy 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
61func RootErr(err error) error {
62 if err, ok := err.(DetailError); ok {
63 return err.GetRoot()
64 }
65 return err
66}

Callers 1

TestNewDetailErrFunction · 0.85

Calls 1

GetRootMethod · 0.65

Tested by 1

TestNewDetailErrFunction · 0.68