# File lib/chef/formatters/error_inspectors/compile_error_inspector.rb, line 35 def add_explanation(error_description) case exception when Chef::Exceptions::RecipeNotFound error_description.section(exception.class.name, exception.message) else error_description.section(exception.class.name, exception.message) traceback = filtered_bt.map {|line| " #{line}"}.join("\n") error_description.section("Cookbook Trace:", traceback) error_description.section("Relevant File Content:", context) end end