Exception: Pluginator::MissingPlugin

Inherits:
PluginatorError show all
Defined in:
lib/pluginator/errors.rb

Overview

raised when plugin can not be found, generated by ‘*!` methods

Instance Method Summary collapse

Constructor Details

#initialize(type, name, list) ⇒ MissingPlugin

initialize new error

Parameters:

  • type (String)

    type of the loaded plugin

  • name (String)

    name of the loaded plugin

  • list (Array)

    list of available plugins



36
37
38
# File 'lib/pluginator/errors.rb', line 36

def initialize(type, name, list)
  super("Can not find plugin #{name.inspect} in #{list_to_s(list)} for type #{type.inspect}.")
end