MCPcopy Create free account
hub / github.com/juju/errors / StackTrace

Method StackTrace

error.go:214–216  ·  view source on GitHub ↗

StackTrace returns one string for each location recorded in the stack of errors. The first value is the originating error, with a line for each other annotation or tracing of the error.

()

Source from the content-addressed store, hash-verified

212// errors. The first value is the originating error, with a line for each
213// other annotation or tracing of the error.
214func (e *Err) StackTrace() []string {
215 return errorStack(e)
216}
217
218// Ideally we'd have a way to check identity, but deep equals will do.
219func sameError(e1, e2 error) bool {

Callers

nothing calls this directly

Calls 1

errorStackFunction · 0.85

Tested by

no test coverage detected