summaryrefslogtreecommitdiff
path: root/lib/chef/exceptions.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-12-06 17:33:19 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-12-06 17:33:19 -0800
commit6ec604f150023e93859af90dff08dba6dc624f79 (patch)
tree185ecbb0388b1c031affc2e62f89b0844f4d5c70 /lib/chef/exceptions.rb
parent3b732824b1f9f8a38f988126195188cfb6f24f2a (diff)
downloadchef-6ec604f150023e93859af90dff08dba6dc624f79.tar.gz
seems this exception type is necessary as welllcg/chefstyle-updates
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r--lib/chef/exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb
index fde439cd43..2d6dcef17e 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 < NotImplementedError; end # rubocop:disable Lint/InheritException
# Attempting to run windows code on a not-windows node
class Win32NotWindows < RuntimeError; end
class WindowsNotAdmin < RuntimeError; end