Exception: Kiba::Extend::MissingDependencyError

Inherits:
NameError
  • Object
show all
Includes:
ErrMod
Defined in:
lib/kiba/extend/error.rb

Overview

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

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

  • path (String)


163
164
165
166
# File 'lib/kiba/extend/error.rb', line 163

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