MCPcopy
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

55type nilError struct{}
56
57func (nilError) Error() string { return "nil error" }
58
59func TestCause(t *testing.T) {
60 x := New("error")

Callers 7

TestNewFunction · 0.45
TestWrapFunction · 0.45
TestWrapfFunction · 0.45
TestErrorfFunction · 0.45
TestWithStackFunction · 0.45
TestWithMessageFunction · 0.45
TestWithMessagefFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected