class Net::IMAP::ResponseError - net-imap: Ruby Standard Library Documentation

# 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 net-imap-0.5.4/lib/net/imap/errors.rb, line 31
    def initialize(response)
      @response = response

      super @response.data.text
    end