Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/rs/zerolog
/ Error
Method
Error
error_marshal_test.go:31–36 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
29
}
30
31
func
(w wrappedError) Error() string {
32
if
w.error == nil {
33
return
w.msg
34
}
35
return
w.error.Error() +
": "
+ w.msg
36
}
37
38
type
interfaceError
struct
{
39
val string
Callers
2
MarshalZerologObject
Method · 0.45
TestArrayErrorMarshalFunc
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected