MCPcopy Create free account
hub / github.com/DNAProject/DNA / getCallStack

Function getCallStack

errors/callstack.go:60–67  ·  view source on GitHub ↗
(skip int, depth int)

Source from the content-addressed store, hash-verified

58}
59
60func getCallStack(skip int, depth int) *CallStack {
61 stacks := make([]uintptr, depth)
62 stacklen := runtime.Callers(skip, stacks)
63
64 return &CallStack{
65 Stacks: stacks[:stacklen],
66 }
67}

Callers 1

NewDetailErrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected