MCPcopy Index your code
hub / github.com/bracesdev/errtrace / Error

Method Error

errtrace_test.go:40–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38type myError struct{ x int }
39
40func (m *myError) Error() string {
41 return "great sadness"
42}
43
44func TestWrappedErrorAs(t *testing.T) {
45 err := errtrace.Wrap(&myError{x: 42})

Callers 1

TestWrappedErrorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected