Exception: Kiba::Extend::Registry::CannotBeUsedAsSourceError

Inherits:
TypeError
  • Object
show all
Includes:
ErrMod
Defined in:
lib/kiba/extend/registry/registered_source.rb

Overview

Since:

  • 2.2.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from ErrMod

#calling_job, #info

Constructor Details

#initialize(dest_class) ⇒ CannotBeUsedAsSourceError

Returns a new instance of CannotBeUsedAsSourceError.

Since:

  • 2.2.0



12
13
14
15
# File 'lib/kiba/extend/registry/registered_source.rb', line 12

def initialize(dest_class)
  super("The result of a registry entry with a #{dest_class} "\
        "dest_class cannot be used as source file in a job")
end

Instance Attribute Details

#entryObject (readonly)

Since:

  • 2.2.0



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

def entry
  @entry
end