Sha256: 47833034825655d70f33df76a3db5931695d61b631a6b8a581426d9a34346581

Contents?: true

Size: 644 Bytes

Versions: 2

Compression:

Stored size: 644 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/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

2 entries across 2 versions & 1 rubygems

Version Path
newrelic_rpm-6.11.0.365 lib/new_relic/agent/noticible_error.rb
newrelic_rpm-6.10.0.364 lib/new_relic/agent/noticible_error.rb