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
- .new(response) ⇒ ResponseError constructor
Instance Attribute Summary
- 
    
      #response  
    
    rw
    The response that caused this error. 
Constructor Details
    .new(response)  ⇒ ResponseError 
  
# File 'lib/net/imap/errors.rb', line 64
def initialize(response) @response = response super @response.data.text end
Instance Attribute Details
#response (rw)
The response that caused this error
# File 'lib/net/imap/errors.rb', line 62
attr_accessor :response