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

Function makeErr4

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

Source from the content-addressed store, hash-verified

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) {
87 tt := testutils.T{T: t}

Callers 1

makeErr3Function · 0.85

Calls 1

WithStackDepthFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…