Exception: JRPC::Errors::InvalidParams

Inherits:
ServerError show all
Defined in:
lib/jrpc/errors.rb

Instance Attribute Summary

Attributes inherited from ServerError

#code

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ InvalidParams

Returns a new instance of InvalidParams.



48
49
50
# File 'lib/jrpc/errors.rb', line 48

def initialize(message)
  super(message, code: -32_602)
end