Class: Eson::ResponseParser::JSONParseError

Inherits:
Error
  • Object
show all
Defined in:
lib/eson/modules/response_parser.rb

Overview

This exception subclass representds parse errors. In addition to saving the response, it also saves the JSON source in a special field.

Instance Attribute Summary collapse

Instance Attribute Details

#sourceObject

Returns the value of attribute source.



7
8
9
# File 'lib/eson/modules/response_parser.rb', line 7

def source
  @source
end