Exception: Msf::PluginLoadError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Msf::PluginLoadError
- Includes:
- Exception
- Defined in:
- lib/msf/core/exception.rb
Overview
Plugin exceptions
Instance Attribute Summary collapse
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason = '') ⇒ PluginLoadError
constructor
A new instance of PluginLoadError.
Constructor Details
#initialize(reason = '') ⇒ PluginLoadError
Returns a new instance of PluginLoadError.
296 297 298 299 |
# File 'lib/msf/core/exception.rb', line 296 def initialize(reason='') @reason = reason super("This plugin failed to load: #{reason}") end |
Instance Attribute Details
#reason ⇒ Object
Returns the value of attribute reason.
294 295 296 |
# File 'lib/msf/core/exception.rb', line 294 def reason @reason end |