Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bracesdev/errtrace
/ callErrorsNew
Function
callErrorsNew
wrap_caller_test.go:23–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
}
22
23
func
callErrorsNew() error {
24
return
errorsNew(
"wrap errors.New"
)
25
}
26
27
func
errorsNew(msg string) error {
28
caller := errtrace.GetCaller()
Callers
1
TestGetCallerWrap_ErrorsNew
Function · 0.85
Calls
1
errorsNew
Function · 0.85
Tested by
no test coverage detected