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

Function callersToFrames

error_test.go:331–341  ·  view source on GitHub ↗
(callers []uintptr)

Source from the content-addressed store, hash-verified

329}
330
331func callersToFrames(callers []uintptr) []runtime.Frame {
332 frames := make([]runtime.Frame, 0, len(callers))
333 framesPtr := runtime.CallersFrames(callers)
334 for {
335 frame, more := framesPtr.Next()
336 frames = append(frames, frame)
337 if !more {
338 return frames
339 }
340 }
341}
342
343type errorString string
344

Callers 1

readableStackTraceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…