MCPcopy Index your code
hub / github.com/cockroachdb/errors / makeErr3

Function makeErr3

withstack/reportable_test.go:83–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81func makeErr2() error { return withstack.WithStack(errors.New("")) }
82
83func makeErr3() error { return makeErr4() }
84func makeErr4() error { return withstack.WithStackDepth(errors.New(""), 1) }
85
86func checkStackTrace(t *testing.T, err error, expectedDepth int) {

Callers

nothing calls this directly

Calls 1

makeErr4Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…