Exception: JRPC::Errors::MethodNotFound

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

Instance Attribute Summary

Attributes inherited from ServerError

#code, #data

Instance Method Summary collapse

Constructor Details

#initialize(message, data: nil) ⇒ MethodNotFound

Returns a new instance of MethodNotFound.



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

def initialize(message, data: nil)
  super(message, code: -32_601, data: data)
end