Exception: Gemstash::WebError
- Inherits:
- 
      StandardError
      
        - Object
- StandardError
- Gemstash::WebError
 
- Defined in:
- lib/gemstash/http_client.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Attribute Summary collapse
- 
  
    
      #code  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute code. 
Instance Method Summary collapse
- 
  
    
      #initialize(message, code)  ⇒ WebError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of WebError. 
Constructor Details
#initialize(message, code) ⇒ WebError
Returns a new instance of WebError.
| 12 13 14 15 | # File 'lib/gemstash/http_client.rb', line 12 def initialize(, code) @code = code super() end | 
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
| 10 11 12 | # File 'lib/gemstash/http_client.rb', line 10 def code @code end |