Method: Chef::Resource#custom_exception_message
- Defined in:
- lib/chef/resource.rb
#custom_exception_message(e) ⇒ String
Preface an exception message with generic Resource information.
1556 1557 1558 |
# File 'lib/chef/resource.rb', line 1556 def (e) "#{self} (#{defined_at}) had an error: #{e.class.name}: #{e.}" end |