Exception: Kiba::Extend::Registry::Creator::JoblessModuleCreatorError

Inherits:
Error
  • Object
show all
Defined in:
lib/kiba/extend/registry/creator/jobless_module_creator_error.rb

Overview

Raised when you try to initialize a Creator with an invalid value (wrong class)

Since:

  • 2.2.0

Instance Method Summary collapse

Methods included from ErrMod

#calling_job, #info

Constructor Details

#initialize(spec) ⇒ JoblessModuleCreatorError

Returns a new instance of JoblessModuleCreatorError.

Since:

  • 2.2.0



11
12
13
# File 'lib/kiba/extend/registry/creator/jobless_module_creator_error.rb', line 11

def initialize(spec)
  super("#{spec} passed as Registry::Creator, but does not define `job` method")
end