Exception: Kiba::Extend::DynamicSourceUseError
- Inherits:
-
TypeError
- Object
- TypeError
- Kiba::Extend::DynamicSourceUseError
- Includes:
- ErrMod
- Defined in:
- lib/kiba/extend/error.rb
Instance Method Summary collapse
-
#formatted ⇒ Object
-
#initialize(key, type, for_job) ⇒ DynamicSourceUseError
constructor
A new instance of DynamicSourceUseError.
Methods included from ErrMod
Constructor Details
#initialize(key, type, for_job) ⇒ DynamicSourceUseError
Returns a new instance of DynamicSourceUseError.
55 56 57 58 59 60 61 62 |
# File 'lib/kiba/extend/error.rb', line 55 def initialize(key, type, for_job) @key = key @type = type @for_job = for_job @msg = ":#{key} cannot be used as a #{type} in :#{for_job} because "\ "dynamic sources are too heterogeneous for this use in kiba-extend" super(msg) end |
Instance Method Details
#formatted ⇒ Object
64 65 66 67 68 69 |
# File 'lib/kiba/extend/error.rb', line 64 def formatted <<~STR JOB FAILED: #{type.upcase} FILE SETUP ERROR FOR: #{for_job} #{msg} STR end |