diff options
author | Tim Smith <tsmith@chef.io> | 2018-03-12 12:36:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-12 12:36:14 -0700 |
commit | 797fe20ea3b529a36dc6a88e6101d3544b9ecb70 (patch) | |
tree | 23213fffe8302dda586746fc2c16412bfc3193b0 /lib/chef/exceptions.rb | |
parent | de0ed26e4b0a42f3af827912339ecae65253b52b (diff) | |
parent | 2e94dd8d733b9bae92228f4eca2dcdb0c58594c3 (diff) | |
download | chef-797fe20ea3b529a36dc6a88e6101d3544b9ecb70.tar.gz |
Merge pull request #6253 from jeunito/feat/5556
Knife should give a useful error when the chef_server_url isn't a chef server API
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r-- | lib/chef/exceptions.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index 1ed71d2a55..cd825895b0 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -521,5 +521,7 @@ This error is most often caused by network issues (proxies, etc) outside of chef # exception specific to invalid usage of 'dsc_resource' resource class DSCModuleNameMissing < ArgumentError; end + + class NotAChefServerException < ArgumentError; end end end |