Exception: Conexa::NotFound
- Inherits:
-
ResponseError
- Object
- StandardError
- ConexaError
- ResponseError
- Conexa::NotFound
- Defined in:
- lib/conexa/errors.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Attributes inherited from ResponseError
#api_response, #error, #request_params
Instance Method Summary collapse
-
#initialize(response, request_params, error) ⇒ NotFound
constructor
A new instance of NotFound.
Methods inherited from ResponseError
#api_error_codes, #api_error_messages, #api_errors
Constructor Details
#initialize(response, request_params, error) ⇒ NotFound
Returns a new instance of NotFound.
90 91 92 93 |
# File 'lib/conexa/errors.rb', line 90 def initialize(response, request_params, error) @response = response super request_params, error, response&.dig('message'), response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
89 90 91 |
# File 'lib/conexa/errors.rb', line 89 def response @response end |