Class: Net::IMAP::ResponseError (Ruby 2.4.2)
Description: Class : Net::IMAP::ResponseError - Ruby 2.4.2

Support for the Ruby 2.4 series has ended. See here for reference.

### Home Classes Methods

### In Files

- net/imap.rb

### Parent

Net::IMAP::Error

### Methods

- ::new

### Class/Module Index

Quicksearch

- Net
- Net::IMAP
- Net::IMAP::BadResponseError
- Net::IMAP::BodyTypeAttachment
- Net::IMAP::BodyTypeBasic
- Net::IMAP::BodyTypeExtension
- Net::IMAP::BodyTypeMessage
- Net::IMAP::BodyTypeMultipart
- Net::IMAP::BodyTypeText
- Net::IMAP::ByeResponseError
- Net::IMAP::CramMD5Authenticator
- Net::IMAP::DataFormatError
- Net::IMAP::DigestMD5Authenticator
- Net::IMAP::Error
- Net::IMAP::FlagCountError
- Net::IMAP::LoginAuthenticator
- Net::IMAP::NoResponseError
- Net::IMAP::NumValidator
- Net::IMAP::PlainAuthenticator
- Net::IMAP::ResponseError
- Net::IMAP::ResponseParseError

No matching classes.

# 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

                   # File net/imap.rb, line 3616
    def initialize(response)
      @response = response

      super @response.data.text
    end