diff options
author | tylercloke <tylercloke@gmail.com> | 2015-05-29 14:57:18 -0700 |
---|---|---|
committer | tylercloke <tylercloke@gmail.com> | 2015-06-05 10:38:48 -0700 |
commit | 030581dbaa97f26b7cb5771661535da7aa8a83c0 (patch) | |
tree | b4f033880e19ff533bc32016c84632b4c30b7c1d /lib/chef/exceptions.rb | |
parent | 9cc6f7645204f7fe8c2faabfca07264669a667f9 (diff) | |
download | chef-030581dbaa97f26b7cb5771661535da7aa8a83c0.tar.gz |
Made Chef::User.reregister give sane error message if no V0 on server.
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r-- | lib/chef/exceptions.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index 197d720776..ef5314423a 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -78,6 +78,7 @@ class Chef class AmbiguousRunlistSpecification < ArgumentError; end class CookbookFrozen < ArgumentError; end class CookbookNotFound < RuntimeError; end + class OnlyApiVersion0SupportedForAction < RuntimeError; end # Cookbook loader used to raise an argument error when cookbook not found. # for back compat, need to raise an error that inherits from ArgumentError class CookbookNotFoundInRepo < ArgumentError; end |