Exception: Jimson::Server::Error::ParseError

Inherits:
Jimson::Server::Error show all
Defined in:
lib/jimson/server/error.rb

Constant Summary

Constants inherited from Jimson::Server::Error

CODES

Instance Attribute Summary

Attributes inherited from Jimson::Server::Error

#code, #message

Instance Method Summary collapse

Methods inherited from Jimson::Server::Error

#to_h

Constructor Details

#initializeParseError

Returns a new instance of ParseError.



20
21
22
# File 'lib/jimson/server/error.rb', line 20

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