diff options
author | Ivan Larionov <ivan.larionov@skype.net> | 2014-05-31 03:21:17 +0400 |
---|---|---|
committer | Ivan Larionov <ivan.larionov@skype.net> | 2014-05-31 03:21:59 +0400 |
commit | 58de779995ec2f3adff739ec5170aedf0366ada2 (patch) | |
tree | d8581022249cc558f095310a091a48cd402ab8da /lib/chef/exceptions.rb | |
parent | ab216f0ee10022b2d9c2a65b6c13c9e75d456ad4 (diff) | |
download | chef-58de779995ec2f3adff739ec5170aedf0366ada2.tar.gz |
[CHEF-3399] Raise in case of data bag items conflict. Tests.
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r-- | lib/chef/exceptions.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index 782ecc3fd8..84f0db1a28 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -114,6 +114,7 @@ class Chef class Win32ArchitectureIncorrect < RuntimeError; end class ObsoleteDependencySyntax < ArgumentError; end class InvalidDataBagPath < ArgumentError; end + class DuplicateDataBagItem < RuntimeError; end # A different version of a cookbook was added to a # VersionedRecipeList than the one already there. |