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)
| 164 | // errors as arguments, and wraps it in a `WithStackDepth` to capture a |
| 165 | // stacktrace alongside. |
| 166 | func JoinWithDepth(depth int, errs ...error) error { |
| 167 | return withstack.WithStackDepth(join.Join(errs...), depth+1) |
| 168 | } |
no test coverage detected
searching dependent graphs…