WithStackDepth annotates err with a stack trace starting from the given call depth. The value zero identifies the caller of WithStackDepth itself. See the documentation of WithStack() for more details.
(err error, depth int)
| 36 | // of WithStackDepth itself. |
| 37 | // See the documentation of WithStack() for more details. |
| 38 | func WithStackDepth(err error, depth int) error { return withstack.WithStackDepth(err, depth+1) } |
| 39 | |
| 40 | // ReportableStackTrace aliases the type of the same name in the sentry |
| 41 | // package. This is used by SendReport(). |
nothing calls this directly
no test coverage detected
searching dependent graphs…