Exception: ChefCLI::PolicyfileBadCookbookMetadata

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chef-cli/exceptions.rb

Instance Method Summary collapse

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