Exception: JSONRPC::Error::InvalidJSON

Inherits:
StandardError
  • Object
show all
Defined in:
lib/jsonrpc/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ InvalidJSON

Returns a new instance of InvalidJSON.



10
11
12
# File 'lib/jsonrpc/error.rb', line 10

def initialize(json)
  super("Couldn't parse JSON string received from server:\n#{json}")
end