# File lib/new_relic/agent/instrumentation/rails/errors.rb, line 31
      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, :custom_params => custom_params
      end