Exception: Arke::Errors::DeserializationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/arke/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ DeserializationError

Returns a new instance of DeserializationError.



8
9
10
11
# File 'lib/arke/errors.rb', line 8

def initialize(error)
  message = "There was an error deserializing the response, failed with error: #{error.class} - #{error.message}"
  super message
end