Method: Chef::Formatters::ErrorMapper.run_list_expand_failed
- Defined in:
- lib/chef/formatters/error_mapper.rb
.run_list_expand_failed(node, exception) ⇒ Object
44 45 46 47 48 49 50 |
# File 'lib/chef/formatters/error_mapper.rb', line 44 def self.(node, exception) error_inspector = ErrorInspectors::RunListExpansionErrorInspector.new(node, exception) headline = "Error expanding the run_list:" description = ErrorDescription.new(headline) error_inspector.add_explanation(description) description end |