Sha256: dcaf205114d97937ebc90e11efd326e7eb9172071155a4d16daf095950ee4bf1

Contents?: true

Size: 524 Bytes

Versions: 42

Compression:

Stored size: 524 Bytes

Contents

# encoding: utf-8

# This is the base class for all errors that we want to record through the
# OneApm::Collector::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 OneApm
  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

42 entries across 42 versions & 1 rubygems

Version Path
oneapm_rpm-1.4.2 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.4.1 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.4.0 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.7 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.7.rc1 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.6 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.6.rc1 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.5 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.5.rc1 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.4 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.4.rc1 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.3 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.3.rc1 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.2 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.2.rc1 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.1 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.1.rc1 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.0 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.3.0.rc1 lib/one_apm/errors/internal_agent_error.rb
oneapm_rpm-1.2.9 lib/one_apm/errors/internal_agent_error.rb