MCPcopy Index your code
hub / github.com/imroc/req / badStringError

Function badStringError

http.go:121–121  ·  view source on GitHub ↗
(what, val string)

Source from the content-addressed store, hash-verified

119}
120
121func badStringError(what, val string) error { return fmt.Errorf("%s %q", what, val) }
122
123// foreachHeaderElement splits v according to the "#rule" construction
124// in RFC 7230 section 7 and calls fn for each non-empty element.

Callers 5

roundTripMethod · 0.85
_readResponseMethod · 0.85
writeHeaderMethod · 0.85
fixTrailerFunction · 0.85
parseContentLengthFunction · 0.85

Calls 1

ErrorfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…