Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pkg/errors
/ Error
Method
Error
errors_test.go:57–57 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
55
type
nilError
struct
{}
56
57
func
(nilError) Error() string {
return
"nil error"
}
58
59
func
TestCause(t *testing.T) {
60
x := New(
"error"
)
Callers
7
TestNew
Function · 0.45
TestWrap
Function · 0.45
TestWrapf
Function · 0.45
TestErrorf
Function · 0.45
TestWithStack
Function · 0.45
TestWithMessage
Function · 0.45
TestWithMessagef
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected