summaryrefslogtreecommitdiff
path: root/lib/chef/exceptions.rb
diff options
context:
space:
mode:
authoraliasgar16 <aliasgar.batterywala@msystechnologies.com>2016-09-21 17:11:27 +0530
committeraliasgar16 <aliasgar.batterywala@msystechnologies.com>2016-09-30 12:14:41 +0530
commita53f31ceba2fc7ce51b6e5713dcb628c401f7ea9 (patch)
tree6a472ff74477969ff42f5e784cacd3795d26b599 /lib/chef/exceptions.rb
parent4f738f8aaf0fb6f1ee0f24a123640d5abf57a800 (diff)
downloadchef-a53f31ceba2fc7ce51b6e5713dcb628c401f7ea9.tar.gz
Allow deletion of registry_key without the need for users to pass type and data key in values hash.
Signed-off-by: aliasgar16 <aliasgar.batterywala@msystechnologies.com>
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r--lib/chef/exceptions.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb
index a4d5ff60e2..ea779754e2 100644
--- a/lib/chef/exceptions.rb
+++ b/lib/chef/exceptions.rb
@@ -245,6 +245,10 @@ class Chef
class Win32RegBadValueSize < ArgumentError; end
class Win32RegTypesMismatch < ArgumentError; end
+ # incorrect input for registry_key create action throws following error
+ class RegKeyValuesTypeMissing < ArgumentError; end
+ class RegKeyValuesDataMissing < ArgumentError; end
+
class InvalidEnvironmentPath < ArgumentError; end
class EnvironmentNotFound < RuntimeError; end