Exception: InvisibleHand::Error::APIError
- Inherits:
-
StandardError
- Object
- StandardError
- InvisibleHand::Error::APIError
- Defined in:
- lib/invisiblehand/errors.rb
Instance Attribute Summary collapse
-
#raw_response ⇒ Object
Returns the value of attribute raw_response.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(message, url, raw_response) ⇒ APIError
constructor
A new instance of APIError.
Constructor Details
#initialize(message, url, raw_response) ⇒ APIError
Returns a new instance of APIError.
16 17 18 19 20 21 |
# File 'lib/invisiblehand/errors.rb', line 16 def initialize , url, raw_response super @url = url @raw_response = raw_response end |
Instance Attribute Details
#raw_response ⇒ Object
Returns the value of attribute raw_response.
14 15 16 |
# File 'lib/invisiblehand/errors.rb', line 14 def raw_response @raw_response end |
#url ⇒ Object
Returns the value of attribute url.
14 15 16 |
# File 'lib/invisiblehand/errors.rb', line 14 def url @url end |