Exception: Msf::MissingActionError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Msf::MissingActionError
- Includes:
- AuxiliaryError
- Defined in:
- lib/msf/core/exception.rb
Overview
This exception is raised if a valid action was not specified when attempting to run an auxiliary module.
Instance Attribute Summary collapse
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason = '') ⇒ MissingActionError
constructor
A new instance of MissingActionError.
Constructor Details
#initialize(reason = '') ⇒ MissingActionError
Returns a new instance of MissingActionError.
223 224 225 226 |
# File 'lib/msf/core/exception.rb', line 223 def initialize(reason='') @reason = reason super("Invalid action: #{@reason}") end |
Instance Attribute Details
#reason ⇒ Object
Returns the value of attribute reason.
221 222 223 |
# File 'lib/msf/core/exception.rb', line 221 def reason @reason end |