Exception: Msf::MissingActionError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Msf::MissingActionError
- Includes:
- AuxiliaryError
- Defined in:
- lib/msf/core/exceptions.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.
211 212 213 214 |
# File 'lib/msf/core/exceptions.rb', line 211 def initialize(reason='') @reason = reason super("Invalid action: #{@reason}") end |
Instance Attribute Details
#reason ⇒ Object
Returns the value of attribute reason
209 210 211 |
# File 'lib/msf/core/exceptions.rb', line 209 def reason @reason end |