Class: RelicLink::Errors::ParsingError

Inherits:
ServerError
  • Object
show all
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

#response

Instance Method Summary collapse

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