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

Function GetReportableStackTrace

withstack_api.go:66–68  ·  view source on GitHub ↗

GetReportableStackTrace extracts a stack trace embedded in the given error in the format suitable for Sentry reporting. This supports: - errors generated by github.com/pkg/errors (either generated locally or after transfer through the network), - errors generated with WithStack() in this package, -

(err error)

Source from the content-addressed store, hash-verified

64// Note: Sentry wants the oldest call frame first, so
65// the entries are reversed in the result.
66func GetReportableStackTrace(err error) *ReportableStackTrace {
67 return withstack.GetReportableStackTrace(err)
68}

Callers

nothing calls this directly

Calls 1

GetReportableStackTraceFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…