class Net::IMAP::ResponseError

Superclass of all errors used to encapsulate “fail” responses from the server.

Attributes

response[RW]

The response that caused this error

Public Class Methods

new(response) click to toggle source
Calls superclass method
# File lib/net/imap/errors.rb, line 31
def initialize(response)
  @response = response

  super @response.data.text
end