Exception: ChefCLI::PolicyfileBadCookbookMetadata
- Inherits:
-
StandardError
- Object
- StandardError
- ChefCLI::PolicyfileBadCookbookMetadata
- Defined in:
- lib/chef-cli/exceptions.rb
Instance Method Summary collapse
-
#initialize(cookbook_root, e) ⇒ PolicyfileBadCookbookMetadata
constructor
A new instance of PolicyfileBadCookbookMetadata.
Constructor Details
#initialize(cookbook_root, e) ⇒ PolicyfileBadCookbookMetadata
Returns a new instance of PolicyfileBadCookbookMetadata.
81 82 83 |
# File 'lib/chef-cli/exceptions.rb', line 81 def initialize(cookbook_root, e) super("Cookbook metadata for cookbook at #{cookbook_root} could not be parsed:\n Original Exception: #{e}") end |