diff options
author | John Keiser <john@johnkeiser.com> | 2015-06-26 14:10:55 -0600 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-06-30 11:18:41 -0600 |
commit | 079f5794af116acb4a32124684fc8965b5ba53ee (patch) | |
tree | a8c012c0d9718b6273390af8a8ecf86133bcc4a1 /lib/chef/exceptions.rb | |
parent | f0e9b2ffe7ec0904456b50ee26913cb42c0ca258 (diff) | |
download | chef-079f5794af116acb4a32124684fc8965b5ba53ee.tar.gz |
Call provides? when resolving, reduce number of calls to provides?
in Provider
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 dd0bac3cf9..235c09c1a8 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -97,6 +97,7 @@ class Chef class ConflictingMembersInGroup < ArgumentError; end class InvalidResourceReference < RuntimeError; end class ResourceNotFound < RuntimeError; end + class ProviderNotFound < ArgumentError; end class VerificationNotFound < RuntimeError; end # Can't find a Resource of this type that is valid on this platform. |