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

Function makeErr2

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

Source from the content-addressed store, hash-verified

79
80func makeErr() error { return makeErr2() }
81func makeErr2() error { return withstack.WithStack(errors.New("")) }
82
83func makeErr3() error { return makeErr4() }
84func makeErr4() error { return withstack.WithStackDepth(errors.New(""), 1) }

Callers 1

makeErrFunction · 0.85

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…