Exception: Hackle::UnexpectedResponseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hackle-ruby-sdk/http/http.rb

Instance Method Summary collapse

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