Exception: Hairballs::PluginNotFound

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/hairballs/exceptions.rb

Overview

Used when Hairballs tries to load a plugin, but the plugin cannot be found.

Instance Method Summary collapse

Constructor Details

#initialize(plugin_name) ⇒ PluginNotFound

Returns a new instance of PluginNotFound.



4
5
6
7
# File 'lib/hairballs/exceptions.rb', line 4

def initialize(plugin_name)
  message = "Plugin not found: :#{plugin_name}."
  super(message)
end