Exception: Inforouter::Errors::ApiError
- Inherits:
-
InforouterError
- Object
- StandardError
- InforouterError
- Inforouter::Errors::ApiError
- Defined in:
- lib/inforouter/errors/api_error.rb
Overview
This error is raised when the infoRouter service returns an error from an API.
Constant Summary
Constants inherited from InforouterError
Instance Method Summary collapse
-
#initialize(message, raw) ⇒ ApiError
constructor
A new instance of ApiError.
Methods inherited from InforouterError
Constructor Details
#initialize(message, raw) ⇒ ApiError
Returns a new instance of ApiError.
9 10 11 |
# File 'lib/inforouter/errors/api_error.rb', line 9 def initialize(, raw) super(('api_error', message: , raw: raw)) end |