Exception: ChefDK::MissingComponentError

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

Instance Method Summary collapse

Constructor Details

#initialize(component_name, reason) ⇒ MissingComponentError

Returns a new instance of MissingComponentError.



48
49
50
# File 'lib/chef-dk/exceptions.rb', line 48

def initialize(component_name, reason)
  super("Component #{component_name} is missing.\nReason: #{reason}")
end