Exception: HTTP::RestClient::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- HTTP::RestClient::ResponseError
- Defined in:
- lib/http/rest_client/response_error.rb
Overview
Client default response exception class.
Instance Attribute Summary collapse
-
#response_data ⇒ Hash
readonly
Error additional data.
Instance Method Summary collapse
-
#initialize(message, data) ⇒ ResponseError
constructor
Class constructor.
Constructor Details
#initialize(message, data) ⇒ ResponseError
Class constructor
16 17 18 19 |
# File 'lib/http/rest_client/response_error.rb', line 16 def initialize(, data) super() @response_data = data end |
Instance Attribute Details
#response_data ⇒ Hash (readonly)
Error additional data
8 9 10 |
# File 'lib/http/rest_client/response_error.rb', line 8 def response_data @response_data end |