Exception: Msf::RPC::JSON::ApplicationServerError

Inherits:
ServerError 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(message, data: nil) ⇒ ApplicationServerError

Returns a new instance of ApplicationServerError.



132
133
134
# File 'lib/msf/core/rpc/json/error.rb', line 132

def initialize(message, data: nil)
  super(APPLICATION_SERVER_ERROR, ERROR_MESSAGES[APPLICATION_SERVER_ERROR] % {msg: message}, data: data)
end