Exception: Msf::PluginLoadError

Inherits:
RuntimeError
  • Object
show all
Includes:
Exception
Defined in:
lib/msf/core/exception.rb

Overview

Plugin exceptions

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#reasonObject

Returns the value of attribute reason.



294
295
296
# File 'lib/msf/core/exception.rb', line 294

def reason
  @reason
end