Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddliu/go-httpclient
/ Error
Struct
Error
error.go:21–24 ·
view source on GitHub ↗
Custom error
Source
from the content-addressed store, hash-verified
19
20
// Custom error
21
type
Error
struct
{
22
Code int
23
Message string
24
}
25
26
// Implement the error interface
27
func
(this Error) Error() string {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected