class Net::IMAP::InvalidResponseError

ResponseParseError or ResponseError may be the #cause.
can be raised before the response is fully parsed. A related
Note that InvalidResponseError does not inherit from ResponseError: it
disconnect, abruptly (without logout).
sending it in the current context. The client should automatically
rejected. Although it may be parsable, the server is forbidden from
This is different from UnknownResponseError: the response has been
Error raised when the server sends an invalid response.