Exception: Jimson::Server::Error::InvalidRequest

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

#initializeInvalidRequest

Returns a new instance of InvalidRequest.



26
27
28
# File 'lib/jimson/server/error.rb', line 26

def initialize
  super(-32600, 'The JSON sent is not a valid Request object.')
end