Exception: Msf::RPC::JSON::MethodNotFound
- Defined in:
- lib/msf/core/rpc/json/error.rb
Instance Attribute Summary
Attributes inherited from RpcError
Instance Method Summary collapse
-
#initialize(method, data: nil) ⇒ MethodNotFound
constructor
A new instance of MethodNotFound.
Methods inherited from RpcError
Constructor Details
#initialize(method, data: nil) ⇒ MethodNotFound
Returns a new instance of MethodNotFound.
92 93 94 |
# File 'lib/msf/core/rpc/json/error.rb', line 92 def initialize(method, data: nil) super(METHOD_NOT_FOUND, ERROR_MESSAGES[METHOD_NOT_FOUND] % {name: method}, data: data) end |