Exception: OpenURI::HTTPError
- Inherits:
 - 
      StandardError
      
        
- Object
 - StandardError
 - OpenURI::HTTPError
 
 
- Defined in:
 - lib/open-uri.rb
 
Direct Known Subclasses
Instance Attribute Summary collapse
- 
  
    
      #io  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute io.
 
Instance Method Summary collapse
- 
  
    
      #initialize(message, io)  ⇒ HTTPError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of HTTPError.
 
Constructor Details
#initialize(message, io) ⇒ HTTPError
Returns a new instance of HTTPError.
      358 359 360 361  | 
    
      # File 'lib/open-uri.rb', line 358 def initialize(, io) super() @io = io end  | 
  
Instance Attribute Details
#io ⇒ Object (readonly)
Returns the value of attribute io.
      362 363 364  | 
    
      # File 'lib/open-uri.rb', line 362 def io @io end  |