Sha256: 7c4ba1a5b9b0873d7b5a150b1898a9c089743528f18179dee1eee0d355ddb1d1
Contents?: true
Size: 658 Bytes
Versions: 12
Compression:
Stored size: 658 Bytes
Contents
# this class encapsulates an error that was noticed by RPM in a managed app. # Unfortunately it was put in the agent in the global namespace early on and # for backward compatibility it needs to remain here. class NewRelic::NoticedError attr_accessor :path, :timestamp, :params, :exception_class, :message def initialize(path, data, exception) self.path = path self.params = data self.exception_class = exception.class.name if exception.respond_to?('original_exception') self.message = exception.original_exception.message else self.message = exception.message end self.timestamp = Time.now end end
Version data entries
12 entries across 12 versions & 1 rubygems