Exception: Ghaki::PluginLoadingError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Ghaki::PluginLoadingError
- Defined in:
- lib/ghaki/registry/errors.rb
Overview
Instance Attribute Summary collapse
-
#feature ⇒ Object
Returns the value of attribute feature.
-
#lib_path ⇒ Object
Returns the value of attribute lib_path.
-
#plugin ⇒ Object
Returns the value of attribute plugin.
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(_feature, _plugin, _lib_path, _reason) ⇒ PluginLoadingError
constructor
A new instance of PluginLoadingError.
Constructor Details
#initialize(_feature, _plugin, _lib_path, _reason) ⇒ PluginLoadingError
Returns a new instance of PluginLoadingError.
49 50 51 52 53 54 55 56 |
# File 'lib/ghaki/registry/errors.rb', line 49 def initialize _feature, _plugin, _lib_path, _reason @feature = _feature @plugin = _plugin @lib_path = _lib_path @reason = _reason msg ||= 'Plugin Loading Error: ' + @reason.to_s super(msg) end |
Instance Attribute Details
#feature ⇒ Object
Returns the value of attribute feature.
48 49 50 |
# File 'lib/ghaki/registry/errors.rb', line 48 def feature @feature end |
#lib_path ⇒ Object
Returns the value of attribute lib_path.
48 49 50 |
# File 'lib/ghaki/registry/errors.rb', line 48 def lib_path @lib_path end |
#plugin ⇒ Object
Returns the value of attribute plugin.
48 49 50 |
# File 'lib/ghaki/registry/errors.rb', line 48 def plugin @plugin end |
#reason ⇒ Object
Returns the value of attribute reason.
48 49 50 |
# File 'lib/ghaki/registry/errors.rb', line 48 def reason @reason end |