Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bracesdev/errtrace
/ Error
Method
Error
cmd/errtrace/testdata/golden/no_import.go:7–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
type
myError
struct
{}
6
7
func
(*myError) Error() string {
8
return
"sadness"
9
}
10
11
func
Try() error {
12
return
&myError{}
Callers
1
TestParseMainParams
Function · 0.45
Calls
no outgoing calls
Tested by
1
TestParseMainParams
Function · 0.36