def resource_failed(resource, action, exception)
      expecting_exception(exception) do
        description = Chef::Formatters::ErrorMapper.resource_failed(resource, action, exception)
        display_error(description)
      end
    end
def resource_failed(resource, action, exception)
      expecting_exception(exception) do
        description = Chef::Formatters::ErrorMapper.resource_failed(resource, action, exception)
        display_error(description)
      end
    end
Called when a resource fails and will not be retried.