Exception: Kiba::Extend::Jobs::Runner::MissingDependencyError

Inherits:
Error
  • Object
show all
Defined in:
lib/kiba/extend/jobs/runner.rb

Overview

Error raised if dependency file is still missing after we tried to run dependencies

Since:

  • 2.2.0

Instance Method Summary collapse

Methods included from ErrMod

#calling_job, #info

Constructor Details

#initialize(filekey, path) ⇒ MissingDependencyError

Returns a new instance of MissingDependencyError.

Parameters:

  • filekey (Symbol)

    key for which a file path was not found in FileRegistry

Since:

  • 2.2.0



17
18
19
20
# File 'lib/kiba/extend/jobs/runner.rb', line 17

def initialize(filekey, path)
  msg = "Cannot locate dependent file for #{filekey} at #{path}"
  super(msg)
end