MCPcopy Create free account
hub / github.com/imroc/req / String

Method String

internal/http2/errors.go:49–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49func (e ErrCode) String() string {
50 if s, ok := errCodeName[e]; ok {
51 return s
52 }
53 return fmt.Sprintf("unknown error code 0x%x", uint32(e))
54}
55
56func (e ErrCode) stringToken() string {
57 if s, ok := errCodeName[e]; ok {

Callers 3

roundTripMethod · 0.45
TestFrameTypeStringFunction · 0.45
TestErrCodeStringFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestFrameTypeStringFunction · 0.36
TestErrCodeStringFunction · 0.36