MCPcopy Index your code
hub / github.com/pkg/errors / wrappedNew

Function wrappedNew

format_test.go:363–365  ·  view source on GitHub ↗
(message string)

Source from the content-addressed store, hash-verified

361}
362
363func wrappedNew(message string) error { // This function will be mid-stack inlined in go 1.12+
364 return New(message)
365}
366
367func TestFormatWrappedNew(t *testing.T) {
368 tests := []struct {

Callers 1

TestFormatWrappedNewFunction · 0.85

Calls 1

NewFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…