Exception: Msf::RPC::JSON::InternalError
- Defined in:
- lib/msf/core/rpc/json/error.rb
Instance Attribute Summary
Attributes inherited from RpcError
Instance Method Summary collapse
-
#initialize(e, data: nil) ⇒ InternalError
constructor
A new instance of InternalError.
Methods inherited from RpcError
Constructor Details
#initialize(e, data: nil) ⇒ InternalError
Returns a new instance of InternalError.
104 105 106 |
# File 'lib/msf/core/rpc/json/error.rb', line 104 def initialize(e, data: nil) super(INTERNAL_ERROR, "#{ERROR_MESSAGES[INTERNAL_ERROR]}: #{e}", data: data) end |