Exception: Kiba::Extend::Registry::CannotBeUsedAsSourceError
- Inherits:
-
TypeError
- Object
- TypeError
- Kiba::Extend::Registry::CannotBeUsedAsSourceError
- Includes:
- ErrMod
- Defined in:
- lib/kiba/extend/registry/registered_source.rb
Overview
Instance Attribute Summary collapse
-
#entry ⇒ Object
readonly
Instance Method Summary collapse
-
#initialize(dest_class) ⇒ CannotBeUsedAsSourceError
constructor
A new instance of CannotBeUsedAsSourceError.
Methods included from ErrMod
Constructor Details
#initialize(dest_class) ⇒ CannotBeUsedAsSourceError
Returns a new instance of CannotBeUsedAsSourceError.
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
#entry ⇒ Object (readonly)
11 12 13 |
# File 'lib/kiba/extend/registry/registered_source.rb', line 11 def entry @entry end |