Exception: Protocol::Jsonrpc::InvalidParamsError
- Defined in:
- lib/protocol/jsonrpc/error.rb
Overview
Error raised when a JSON-RPC invalid params error is received from the server Raised when error code is -32602
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
135 136 137 |
# File 'lib/protocol/jsonrpc/error.rb', line 135 def code INVALID_PARAMS end |