Exception: Msf::MissingPayloadError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Msf::MissingPayloadError
- Includes:
- ExploitError
- Defined in:
- lib/msf/core/exception.rb
Overview
This exception is raised if a payload was not specified when attempting to exploit something.
Instance Method Summary collapse
-
#initialize(msg = "A payload has not been selected.") ⇒ MissingPayloadError
constructor
A new instance of MissingPayloadError.
Constructor Details
#initialize(msg = "A payload has not been selected.") ⇒ MissingPayloadError
Returns a new instance of MissingPayloadError.
208 209 210 |
# File 'lib/msf/core/exception.rb', line 208 def initialize(msg="A payload has not been selected.") super(msg) end |