# File lib/new_relic/agent/instrumentation/rails3/errors.rb, line 13
          def newrelic_notice_error(exception, custom_params = {})
            NewRelic::Agent::Deprecator.deprecate("ActionController#newrelic_notice_error",
                                                  "NewRelic::Agent#notice_error")

            NewRelic::Agent::Transaction.notice_error(exception,
                                                      :metric => newrelic_metric_path,
                                                      :custom_params => custom_params)
          end