Method: Chef::Resource#current_value_does_not_exist!

Defined in:
lib/chef/resource.rb

#current_value_does_not_exist!Object

Call this in load_current_value to indicate that the value does not exist and that current_resource should therefore be nil.

Raises:

  • Chef::Exceptions::CurrentValueDoesNotExist



1119
1120
1121
# File 'lib/chef/resource.rb', line 1119

def current_value_does_not_exist!
  raise Chef::Exceptions::CurrentValueDoesNotExist
end