Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgrr/http2
/ Code
Method
Code
errors.go:80–82 ·
view source on GitHub ↗
Code returns the error code.
()
Source
from the content-addressed store, hash-verified
78
79
// Code returns the error code.
80
func
(e Error) Code() ErrorCode {
81
return
e.code
82
}
83
84
// Debug returns the debug string.
85
func
(e Error) Debug() string {
Callers
4
writeError
Method · 0.95
testIssue52
Function · 0.45
TestIssue27
Function · 0.45
readLoop
Method · 0.45
Calls
no outgoing calls
Tested by
2
testIssue52
Function · 0.36
TestIssue27
Function · 0.36