Exception: Hackle::UnexpectedResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- Hackle::UnexpectedResponseError
- Defined in:
- lib/hackle-ruby-sdk/http/http.rb
Instance Method Summary collapse
-
#initialize(status_code) ⇒ UnexpectedResponseError
constructor
A new instance of UnexpectedResponseError.
Constructor Details
#initialize(status_code) ⇒ UnexpectedResponseError
Returns a new instance of UnexpectedResponseError.
8 9 10 |
# File 'lib/hackle-ruby-sdk/http/http.rb', line 8 def initialize(status_code) super("HTTP status code #{status_code}") end |