123456789_123456789_123456789_123456789_123456789_

Exception: Net::IMAP::ResponseError

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Error, StandardError
Instance Chain:
self, Error, StandardError
Inherits: Net::IMAP::Error
Defined in: lib/net/imap/errors.rb

Overview

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

Class Method Summary

Instance Attribute Summary

  • #response rw

    The response that caused this error.

Constructor Details

.new(response) ⇒ ResponseError

[ GitHub ]

  
# File 'lib/net/imap/errors.rb', line 25

def initialize(response)
  @response = response

  super @response.data.text
end

Instance Attribute Details

#response (rw)

The response that caused this error

[ GitHub ]

  
# File 'lib/net/imap/errors.rb', line 23

attr_accessor :response