diff options
| author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-06 17:33:19 -0800 |
|---|---|---|
| committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-06 17:33:19 -0800 |
| commit | 6ec604f150023e93859af90dff08dba6dc624f79 (patch) | |
| tree | 185ecbb0388b1c031affc2e62f89b0844f4d5c70 | |
| parent | 3b732824b1f9f8a38f988126195188cfb6f24f2a (diff) | |
| download | chef-lcg/chefstyle-updates.tar.gz | |
seems this exception type is necessary as welllcg/chefstyle-updates
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| -rw-r--r-- | lib/chef/exceptions.rb | 2 |
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 |
