Exception: Jimson::Server::Error::MethodNotFound

Inherits:
Jimson::Server::Error show all
Defined in:
lib/jimson/server/error.rb

Constant Summary

Constants inherited from Jimson::Server::Error

CODES

Instance Attribute Summary

Attributes inherited from Jimson::Server::Error

#code, #message

Instance Method Summary collapse

Methods inherited from Jimson::Server::Error

#to_h

Constructor Details

#initialize(method) ⇒ MethodNotFound

Returns a new instance of MethodNotFound.



32
33
34
# File 'lib/jimson/server/error.rb', line 32

def initialize(method)
  super(-32601, "Method '#{method}' not found.")
end