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

Function ExampleWrapError

error_test.go:220–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218}
219
220func ExampleWrapError() (error, error) {
221 // Wrap io.EOF with the current stack-trace and return it
222 return nil, Wrap(io.EOF, 0)
223}
224
225func ExampleWrapError_skip() {
226 defer func() {

Callers

nothing calls this directly

Calls 1

WrapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…