Exception: Jimson::ServerError::InvalidRequest

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

#initializeInvalidRequest

Returns a new instance of InvalidRequest.



27
28
29
# File 'lib/jimson/server_error.rb', line 27

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