diff options
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r-- | lib/chef/exceptions.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index 25f08455fc..d981d4512d 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -142,6 +142,11 @@ class Chef class IllegalVersionConstraint < NotImplementedError; end class MetadataNotValid < StandardError; end + class MetadataNotFound < StandardError + def initialize + super "No metadata.rb or metadata.json!" + end + end # File operation attempted but no permissions to perform it class InsufficientPermissions < RuntimeError; end |