Exception: Wasabi::Resolver::HTTPError
- Inherits:
-
StandardError
- Object
- StandardError
- Wasabi::Resolver::HTTPError
- Defined in:
- lib/wasabi/resolver.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response = nil) ⇒ HTTPError
constructor
A new instance of HTTPError.
Constructor Details
#initialize(message, response = nil) ⇒ HTTPError
Returns a new instance of HTTPError.
13 14 15 16 |
# File 'lib/wasabi/resolver.rb', line 13 def initialize(, response=nil) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
17 18 19 |
# File 'lib/wasabi/resolver.rb', line 17 def response @response end |