Exception: Ghaki::PluginNotFoundError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/ghaki/registry/errors.rb

Overview


Instance Attribute Summary collapse

Instance Method Summary collapse

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

#featureObject

Returns the value of attribute feature.



37
38
39
# File 'lib/ghaki/registry/errors.rb', line 37

def feature
  @feature
end

#pluginObject

Returns the value of attribute plugin.



37
38
39
# File 'lib/ghaki/registry/errors.rb', line 37

def plugin
  @plugin
end