- Defined in:
This exception is raised if a target was not specified when attempting to exploit something.
Instance Method Summary collapse
#initialize(msg = "A target has not been selected.") ⇒ MissingTargetError
A new instance of MissingTargetError.
#initialize(msg = "A target has not been selected.") ⇒
Returns a new instance of MissingTargetError.
181 182 183
# File 'lib/msf/core/exception.rb', line 181 def initialize(msg="A target has not been selected.") super(msg) end