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

Function JoinWithDepth

errutil/utilities.go:166–168  ·  view source on GitHub ↗

JoinWithDepth constructs a Join error with the provided list of errors as arguments, and wraps it in a `WithStackDepth` to capture a stacktrace alongside.

(depth int, errs ...error)

Source from the content-addressed store, hash-verified

164// errors as arguments, and wraps it in a `WithStackDepth` to capture a
165// stacktrace alongside.
166func JoinWithDepth(depth int, errs ...error) error {
167 return withstack.WithStackDepth(join.Join(errs...), depth+1)
168}

Callers 2

JoinFunction · 0.92
JoinWithDepthFunction · 0.92

Calls 2

WithStackDepthFunction · 0.92
JoinFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…