Exception: Hairballs::PluginLoadFailure

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

Overview

Used when Hairballs tries to load plugin, but the plugin could not be loaded.

Instance Method Summary collapse

Constructor Details

#initialize(plugin_name) ⇒ PluginLoadFailure

Returns a new instance of PluginLoadFailure.



13
14
15
16
# File 'lib/hairballs/exceptions.rb', line 13

def initialize(plugin_name)
  message = "Unable to load plugin: :#{plugin_name}."
  super(message)
end