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

TypeAlias protocolError

textproto_reader.go:198–198  ·  view source on GitHub ↗

A protocolError describes a protocol violation such as an invalid response or a hung-up connection.

Source from the content-addressed store, hash-verified

196// A protocolError describes a protocol violation such
197// as an invalid response or a hung-up connection.
198type protocolError string
199
200func (p protocolError) Error() string {
201 return string(p)

Callers 2

readMIMEHeaderMethod · 0.85
mustHaveFieldNameColonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected