diff options
author | John Keiser <john@johnkeiser.com> | 2015-07-29 15:31:36 -0600 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-07-31 12:42:28 -0600 |
commit | 05c59d70345598da5bb0e7ccc2f4ebaf85adcb73 (patch) | |
tree | b9054251567a2ecff2b810b1d9cac55f486d8d69 /lib/chef/exceptions.rb | |
parent | 6aa94e70cde907e9c890307a82fb50af3d46f9df (diff) | |
download | chef-05c59d70345598da5bb0e7ccc2f4ebaf85adcb73.tar.gz |
Add current_value_does_not_exist! API, pretty up the output
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r-- | lib/chef/exceptions.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index e2e36e8162..16f985acaa 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -105,6 +105,9 @@ class Chef class VerificationNotFound < RuntimeError; end class InvalidEventType < ArgumentError; end class MultipleIdentityError < RuntimeError; end + # Used in Resource::ActionProvider#load_current_resource to denote that + # the resource doesn't actually exist (for example, the file does not exist) + class CurrentValueDoesNotExist < RuntimeError; end # Can't find a Resource of this type that is valid on this platform. class NoSuchResourceType < NameError |