Exception: ChefDK::MissingComponentError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ChefDK::MissingComponentError
- Defined in:
- lib/chef-dk/exceptions.rb
Instance Method Summary collapse
-
#initialize(component_name, reason) ⇒ MissingComponentError
constructor
A new instance of MissingComponentError.
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 |