Exception: Msf::RPC::JSON::ParseError

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) ⇒ ParseError

Returns a new instance of ParseError.


80
81
82
# File 'lib/msf/core/rpc/json/error.rb', line 80

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