MCPcopy Index your code
hub / github.com/DOSNetwork/core / Error

Function Error

log/root.go:123–127  ·  view source on GitHub ↗

Error is a convenient alias for Root().Error

(err error)

Source from the content-addressed store, hash-verified

121
122// Error is a convenient alias for Root().Error
123func Error(err error) {
124 if root != nil {
125 root.Error(err)
126 }
127}
128
129// Fatal is a convenient alias for Root().Fatal
130func Fatal(err error) {

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.65

Tested by

no test coverage detected