Exception: Kiba::Extend::Registry::RequirableFile::NoDependencyCreatorError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/kiba/extend/registry/requirable_file.rb

Overview

Exception raised if FileRegistry contains no creator for file

Since:

  • 2.2.0

Instance Method Summary collapse

Constructor Details

#initialize(filekey) ⇒ NoDependencyCreatorError

Returns a new instance of NoDependencyCreatorError.

Parameters:

  • filekey (Symbol)

    key for file lacking creator in FileRegistry

Since:

  • 2.2.0



14
15
16
17
# File 'lib/kiba/extend/registry/requirable_file.rb', line 14

def initialize(filekey)
  msg = "No creator method found for :#{filekey} in file registry"
  super(msg)
end