Exception: Msf::PluginLoadError

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

Overview

Plugin exceptions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reason = '') ⇒ PluginLoadError

Returns a new instance of PluginLoadError.


284
285
286
287
# File 'lib/msf/core/exceptions.rb', line 284

def initialize(reason='')
  @reason = reason
  super("This plugin failed to load: #{reason}")
end

Instance Attribute Details

#reasonObject

Returns the value of attribute reason


282
283
284
# File 'lib/msf/core/exceptions.rb', line 282

def reason
  @reason
end