Exception: Msf::RPC::JSON::InvalidParams

Inherits:
RpcError
  • Object
show all
Defined in:
lib/msf/core/rpc/json/error.rb

Instance Attribute Summary

Attributes inherited from RpcError

#code, #data, #message

Instance Method Summary collapse

Methods inherited from RpcError

#to_h

Constructor Details

#initialize(data: nil) ⇒ InvalidParams

Returns a new instance of InvalidParams.



98
99
100
# File 'lib/msf/core/rpc/json/error.rb', line 98

def initialize(data: nil)
  super(INVALID_PARAMS, ERROR_MESSAGES[INVALID_PARAMS], data: data)
end