Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/go-errors/errors
/ ExampleWrap
Function
ExampleWrap
error_test.go:246–253 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
244
}
245
246
func
ExampleWrap() error {
247
248
if
err := recover(); err != nil {
249
return
Wrap(err, 1)
250
}
251
252
return
a()
253
}
254
255
func
ExampleError_Error(err error) {
256
fmt.Println(err.Error())
Callers
nothing calls this directly
Calls
2
Wrap
Function · 0.85
a
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…