Exception: Protocol::Jsonrpc::InvalidRequestError
- Defined in:
- lib/protocol/jsonrpc/error.rb
Overview
Error raised when a JSON-RPC invalid request error is received from the server Raised when error code is -32600
Constant Summary
Constants inherited from Error
Error::ERROR_MESSAGES, Error::INTERNAL_ERROR, Error::INVALID_PARAMS, Error::INVALID_REQUEST, Error::METHOD_NOT_FOUND, Error::PARSE_ERROR
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
Methods inherited from Error
#[], from_message, #initialize, #reply, #to_h, wrap
Constructor Details
This class inherits a constructor from Protocol::Jsonrpc::Error
Instance Method Details
#code ⇒ Object
119 120 121 |
# File 'lib/protocol/jsonrpc/error.rb', line 119 def code INVALID_REQUEST end |