Exception: Jimson::ServerError::ParseError

Inherits:
Generic
  • Object
show all
Defined in:
lib/jimson/server_error.rb

Instance Attribute Summary

Attributes inherited from Generic

#code, #message

Instance Method Summary collapse

Methods inherited from Generic

#to_h

Constructor Details

#initializeParseError

Returns a new instance of ParseError.



21
22
23
# File 'lib/jimson/server_error.rb', line 21

def initialize
  super(-32700, 'Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.')
end