/usr/lib/ruby/vendor_ruby/chef_compat/monkeypatches/chef/exceptions.rb is in ruby-compat-resource 12.10.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | require 'chef/exceptions'
class Chef
class Exceptions
# Used in Resource::ActionClass#load_current_resource to denote that
# the resource doesn't actually exist (for example, the file does not exist)
class CurrentValueDoesNotExist < RuntimeError; end unless defined?(CurrentValueDoesNotExist)
class CannotValidateStaticallyError < RuntimeError; end unless defined?(CannotValidateStaticallyError)
end
end
|