Exception: Msf::MissingTargetError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Msf::MissingTargetError
- Includes:
- ExploitError
- Defined in:
- lib/msf/core/exception.rb
Overview
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
constructor
A new instance of MissingTargetError.
Constructor Details
#initialize(msg = "A target has not been selected.") ⇒ MissingTargetError
Returns a new instance of MissingTargetError.
194 195 196 |
# File 'lib/msf/core/exception.rb', line 194 def initialize(msg="A target has not been selected.") super(msg) end |