Exception: TempoIQ::HttpException
- Inherits:
-
StandardError
- Object
- StandardError
- TempoIQ::HttpException
- Defined in:
- lib/tempoiq/remoter/http_result.rb
Overview
Thrown from client calls where unexpected response codes are returned from the backend.
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Underlying response object, useful for debugging unexpected failures.
Instance Method Summary collapse
-
#initialize(response) ⇒ HttpException
constructor
A new instance of HttpException.
Constructor Details
#initialize(response) ⇒ HttpException
Returns a new instance of HttpException.
8 9 10 |
# File 'lib/tempoiq/remoter/http_result.rb', line 8 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Underlying response object, useful for debugging unexpected failures.
6 7 8 |
# File 'lib/tempoiq/remoter/http_result.rb', line 6 def response @response end |