Exception: Pluginator::MissingType

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

Overview

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

Instance Method Summary collapse

Constructor Details

#initialize(type, list) ⇒ MissingType

initialize new error

Parameters:

  • type (String)

    type of the loaded plugin

  • list (Array)

    list of available types



46
47
48
# File 'lib/pluginator/errors.rb', line 46

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