MCPcopy Index your code
hub / github.com/go-errors/errors / stackCompareError

Function stackCompareError

error_test.go:308–310  ·  view source on GitHub ↗
(msg string, actual, expected []uintptr)

Source from the content-addressed store, hash-verified

306}
307
308func stackCompareError(msg string, actual, expected []uintptr) error {
309 return fmt.Errorf("%s\nActual stack trace:\n%s\nExpected stack trace:\n%s", msg, readableStackTrace(actual), readableStackTrace(expected))
310}
311
312func callers() []uintptr {
313 return callersSkip(1)

Callers 1

compareStacksFunction · 0.85

Calls 1

readableStackTraceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…