MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / callers

Function callers

pkg/errors/stack_trace.go:26–32  ·  view source on GitHub ↗

callers returns the call stack, skipping the first frames.

(skip int)

Source from the content-addressed store, hash-verified

24
25// callers returns the call stack, skipping the first frames.
26func callers(skip int) *stack {
27 const depth = 32
28 var pcs [depth]uintptr
29 n := runtime.Callers(skip, pcs[:])
30 var st stack = pcs[0:n]
31 return &st
32}
33
34// StackTrace implements the errors.stackTracer interface.
35func (s *stack) StackTrace() errors.StackTrace {

Callers 4

setCauseMethod · 0.85
addDetailsMethod · 0.85
mergeAttributesMethod · 0.85
buildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected