- Defined in:
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
A new instance of MissingPayloadError.
#initialize(msg = "A payload has not been selected.") ⇒
Returns a new instance of MissingPayloadError.
195 196 197
# File 'lib/msf/core/exception.rb', line 195 def initialize(msg="A payload has not been selected.") super(msg) end