MCPcopy Index your code
hub / github.com/pkg/errors / StackTrace

Method StackTrace

stack.go:155–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153}
154
155func (s *stack) StackTrace() StackTrace {
156 f := make([]Frame, len(*s))
157 for i := 0; i < len(f); i++ {
158 f[i] = Frame((*s)[i])
159 }
160 return f
161}
162
163func callers() *stack {
164 const depth = 32

Callers 1

stackTraceFunction · 0.95

Calls 1

FrameTypeAlias · 0.85

Tested by 1

stackTraceFunction · 0.76