Exception: JRPC::Errors::MethodNotFound
- Inherits:
-
ServerError
- Object
- RuntimeError
- Error
- ServerError
- JRPC::Errors::MethodNotFound
- Defined in:
- lib/jrpc/errors.rb
Instance Attribute Summary
Attributes inherited from ServerError
Instance Method Summary collapse
-
#initialize(message, data: nil) ⇒ MethodNotFound
constructor
A new instance of MethodNotFound.
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(, data: nil) super(, code: -32_601, data: data) end |