Exception: ElephantInTheRoom::TheOneApiSdk::Errors::HttpError
- Inherits:
-
StandardError
- Object
- StandardError
- ElephantInTheRoom::TheOneApiSdk::Errors::HttpError
- Defined in:
- lib/elephant_in_the_room/the_one_api_sdk/errors.rb
Overview
Errors related to HTTP response codes
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(message_prefix, response) ⇒ HttpError
constructor
A new instance of HttpError.
Constructor Details
#initialize(message_prefix, response) ⇒ HttpError
Returns a new instance of HttpError.
7 8 9 |
# File 'lib/elephant_in_the_room/the_one_api_sdk/errors.rb', line 7 def initialize(, response) super("(#{}) #{response.code}: #{response.}") end |