Class: RelicLink::Errors::ParsingError
- Inherits:
-
ServerError
- Object
- Faraday::Error
- ServerError
- RelicLink::Errors::ParsingError
- Defined in:
- lib/relic_link/errors/server_error.rb
Overview
Raised when an API response cannot be parsed.
Instance Attribute Summary
Attributes inherited from ServerError
Instance Method Summary collapse
-
#initialize(response) ⇒ ParsingError
constructor
A new instance of ParsingError.
Constructor Details
#initialize(response) ⇒ ParsingError
Returns a new instance of ParsingError.
17 18 19 |
# File 'lib/relic_link/errors/server_error.rb', line 17 def initialize(response) super('parsing_error', response) end |