Exception: Ghaki::PluginNotFoundError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Ghaki::PluginNotFoundError
- Defined in:
- lib/ghaki/registry/errors.rb
Overview
Instance Attribute Summary collapse
-
#feature ⇒ Object
Returns the value of attribute feature.
-
#plugin ⇒ Object
Returns the value of attribute plugin.
Instance Method Summary collapse
-
#initialize(_feature, _plugin, msg = nil) ⇒ PluginNotFoundError
constructor
A new instance of PluginNotFoundError.
Constructor Details
#initialize(_feature, _plugin, msg = nil) ⇒ PluginNotFoundError
Returns a new instance of PluginNotFoundError.
38 39 40 41 42 43 |
# File 'lib/ghaki/registry/errors.rb', line 38 def initialize _feature, _plugin, msg=nil @feature = _feature @plugin = _plugin msg ||= 'Plugin Not Registered: ' + @plugin.to_s super(msg) end |
Instance Attribute Details
#feature ⇒ Object
Returns the value of attribute feature.
37 38 39 |
# File 'lib/ghaki/registry/errors.rb', line 37 def feature @feature end |
#plugin ⇒ Object
Returns the value of attribute plugin.
37 38 39 |
# File 'lib/ghaki/registry/errors.rb', line 37 def plugin @plugin end |