Exception: ChefDK::MissingComponentError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/chef-dk/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(component_name, path_checked) ⇒ MissingComponentError

Returns a new instance of MissingComponentError.



45
46
47
# File 'lib/chef-dk/exceptions.rb', line 45

def initialize(component_name, path_checked)
  super("Component #{component_name} is missing. \nReason: Could not find #{path_checked}.")
end