class ProtocolError < Error

Inherits from
Error

The protocol was violated in some way, e.g. trying to write a request while reading a response.