Exception: Net::IMAP::ResponseError
- Defined in:
- lib/net/imap.rb
Overview
Superclass of all errors used to encapsulate “fail” responses from the server.
Direct Known Subclasses
Instance Attribute Summary collapse
- 
  
    
      #response  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The response that caused this error. 
Instance Method Summary collapse
- 
  
    
      #initialize(response)  ⇒ ResponseError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ResponseError. 
Constructor Details
#initialize(response) ⇒ ResponseError
Returns a new instance of ResponseError.
| 3694 3695 3696 3697 3698 | # File 'lib/net/imap.rb', line 3694 def initialize(response) @response = response super @response.data.text end | 
Instance Attribute Details
#response ⇒ Object
The response that caused this error
| 3692 3693 3694 | # File 'lib/net/imap.rb', line 3692 def response @response end |