Sha256: 34189e29bde3e8e5d6e79c2484348b9fcd4d130d3692c646a56b301c67486ca9

Contents?: true

Size: 678 Bytes

Versions: 11

Compression:

Stored size: 678 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.

# This is the base class for all errors that we want to record through the
# NewRelic::Agent::ErrorCollector#notice_agent_error API. It provides the
# standard support text at the front of the message, and is used for flagging
# agent errors when checking queue limits.

module NewRelic
  module Agent
    class InternalAgentError < StandardError
      def initialize(msg=nil)
        super("Ruby agent internal error. Please contact support referencing this error.\n #{msg}")
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
newrelic_rpm-8.2.0 lib/new_relic/agent/internal_agent_error.rb
newrelic_rpm-8.1.0 lib/new_relic/agent/internal_agent_error.rb
newrelic_rpm-8.0.0 lib/new_relic/agent/internal_agent_error.rb
newrelic_rpm-7.2.0 lib/new_relic/agent/internal_agent_error.rb
newrelic_rpm-7.1.0 lib/new_relic/agent/internal_agent_error.rb
newrelic_rpm-7.0.0 lib/new_relic/agent/internal_agent_error.rb
newrelic_rpm-6.15.0 lib/new_relic/agent/internal_agent_error.rb
newrelic_rpm-6.14.0 lib/new_relic/agent/internal_agent_error.rb
newrelic_rpm-6.13.1 lib/new_relic/agent/internal_agent_error.rb
newrelic_rpm-6.13.0 lib/new_relic/agent/internal_agent_error.rb
newrelic_rpm-6.12.0.367 lib/new_relic/agent/internal_agent_error.rb