diff options
author | adamedx <admed@opscode.com> | 2013-01-25 16:33:43 -0800 |
---|---|---|
committer | adamedx <adamed@opscode.com> | 2013-02-19 09:32:06 -0800 |
commit | 63d34bb7887606ee5d55ad70264ff14a90aa3f09 (patch) | |
tree | b2cb0ecabe8bc73195f46bb8e631374207e72ec7 /lib/chef/exceptions.rb | |
parent | 5e9dad16efadd17c046654895095dcb7d2052612 (diff) | |
download | chef-63d34bb7887606ee5d55ad70264ff14a90aa3f09.tar.gz |
OC-4739: OC-4748: Create powershell and batch providers in core Chef
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r-- | lib/chef/exceptions.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index c8654d7801..783a640654 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -97,6 +97,8 @@ class Chef # Attempting to run windows code on a not-windows node class Win32NotWindows < RuntimeError; end class WindowsNotAdmin < RuntimeError; end + # Attempting to access a 64-bit only resource on a 32-bit Windows system + class Win32ArchitectureIncorrect < RuntimeError; end class ObsoleteDependencySyntax < ArgumentError; end class InvalidDataBagPath < ArgumentError; end @@ -131,7 +133,7 @@ class Chef class StaleAttributeRead < StandardError; end #Registry Helper throws the following errors - class Win32RegArchitectureIncorrect < RuntimeError; end + class Win32RegArchitectureIncorrect < Win32ArchitectureIncorrect; end class Win32RegHiveMissing < ArgumentError; end class Win32RegKeyMissing < RuntimeError; end class Win32RegValueMissing < RuntimeError; end |