lib/chef-dk/exceptions.rb in chef-dk-0.2.0 vs lib/chef-dk/exceptions.rb in chef-dk-0.2.1

- old
+ new

@@ -24,10 +24,22 @@ end class MalformedCookbook < StandardError end + class DependencyConflict < StandardError + end + + class CookbookNotInWorkingSet < DependencyConflict + end + + class InvalidCookbookLockData < StandardError + end + + class CachedCookbookModified < StandardError + end + class MissingComponentError < RuntimeError def initialize(component_name) super("Component #{component_name} is missing.") end end @@ -40,7 +52,10 @@ class UnsupportedFeature < StandardError end class PolicyfileError < StandardError + end + + class MissingCookbookLockData < StandardError end end