diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-06 13:41:36 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-06 13:41:36 -0800 |
commit | ea302cfa10d61b90961f7642bd8efd30af1d81a5 (patch) | |
tree | 8340953de04fd094919d618a6ad1a32d8c0c9262 /lib/chef/exceptions.rb | |
parent | e709132d5bc82145951392b4fed4b2baddde75bd (diff) | |
download | chef-ea302cfa10d61b90961f7642bd8efd30af1d81a5.tar.gz |
helpful spec tests discovered could not change this superclass
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r-- | lib/chef/exceptions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index 71ea6ceb9a..3396dd12e3 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -159,7 +159,7 @@ class Chef # Thrown when Win32 API layer binds to non-existent Win32 function. Occurs # when older versions of Windows don't support newer Win32 API functions. - class Win32APIFunctionNotImplemented < RuntimeError; end + class Win32APIFunctionNotImplemented < RuntimeError; end # rubocop:disable Lint/InheritException # Attempting to run windows code on a not-windows node class Win32NotWindows < RuntimeError; end class WindowsNotAdmin < RuntimeError; end @@ -196,7 +196,7 @@ class Chef class InvalidVersionConstraint < ArgumentError; end # Version constraints are not allowed in chef-solo - class IllegalVersionConstraint < ArgumentError; end + class IllegalVersionConstraint < NotImplementedError; end # rubocop:disable Lint/InheritException class MetadataNotValid < StandardError; end class MetadataNotFound < StandardError |