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.
10 11 12 13 |
# File 'lib/gemstash/http_client.rb', line 10 def initialize(, code) @code = code super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
8 9 10 |
# File 'lib/gemstash/http_client.rb', line 8 def code @code end |