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

Function ExampleError_StackFrames

error_test.go:271–275  ·  view source on GitHub ↗
(err *Error)

Source from the content-addressed store, hash-verified

269}
270
271func ExampleError_StackFrames(err *Error) {
272 for _, frame := range err.StackFrames() {
273 fmt.Println(frame.File, frame.LineNumber, frame.Package, frame.Name)
274 }
275}
276
277func a() error {
278 b(5)

Callers

nothing calls this directly

Calls 1

StackFramesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…