Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Go-Learning-Land/Go-Learning-Archive
/ Error
Method
Error
GolangBasics/GoByExample/022Error.go:23–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
}
22
23
func
(e *argError) Error() string {
24
return
fmt.Sprintf(
"%d - %s"
, e.arg, e.prob)
25
}
26
27
func
f2(arg int) (int, error) {
28
if
arg == 42 {
Callers
15
GetConnection
Function · 0.45
GetCustomers
Function · 0.45
InsertCustomer
Function · 0.45
UpdateCustomer
Function · 0.45
deleteCustomer
Function · 0.45
GetConnection
Function · 0.45
GetCustomerById
Function · 0.45
GetCustomers
Function · 0.45
InsertCustomer
Function · 0.45
UpdateCustomer
Function · 0.45
DeleteCustomer
Function · 0.45
slowHandler
Function · 0.45
Calls
no outgoing calls
Tested by
1
TestParserLineErrs
Function · 0.36