Sha256: 1c19d96beb01a30c335e01bd2bd019ca0c5eaa9440413e3ce4ab5edd2cbe6536

Contents?: true

Size: 658 Bytes

Versions: 11

Compression:

Stored size: 658 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.
# frozen_string_literal: true

module NewRelic
  module Agent

    # This class is used for instrumentations that have exceptions or error classes
    # not derived from Ruby's usual Exception or StandardError or in situations
    # where we do not have such Exception object to work with.
    class NoticibleError
      attr_reader :class_name, :message

      def initialize class_name, message
        @class_name = class_name
        @message = message
      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/noticible_error.rb
newrelic_rpm-8.1.0 lib/new_relic/agent/noticible_error.rb
newrelic_rpm-8.0.0 lib/new_relic/agent/noticible_error.rb
newrelic_rpm-7.2.0 lib/new_relic/agent/noticible_error.rb
newrelic_rpm-7.1.0 lib/new_relic/agent/noticible_error.rb
newrelic_rpm-7.0.0 lib/new_relic/agent/noticible_error.rb
newrelic_rpm-6.15.0 lib/new_relic/agent/noticible_error.rb
newrelic_rpm-6.14.0 lib/new_relic/agent/noticible_error.rb
newrelic_rpm-6.13.1 lib/new_relic/agent/noticible_error.rb
newrelic_rpm-6.13.0 lib/new_relic/agent/noticible_error.rb
newrelic_rpm-6.12.0.367 lib/new_relic/agent/noticible_error.rb