Exception: NewRelic::Agent::StatsHash::StatsMergerError

Inherits:
InternalAgentError show all
Defined in:
lib/new_relic/agent/stats_engine/stats_hash.rb

Instance Method Summary collapse

Constructor Details

#initialize(key, destination, source, original_exception) ⇒ StatsMergerError

Returns a new instance of StatsMergerError.



80
81
82
83
# File 'lib/new_relic/agent/stats_engine/stats_hash.rb', line 80

def initialize(key, destination, source, original_exception)
  super("Failure when merging stats '#{key}'. In Hash: #{destination.inspect_full}. Merging: #{source.inspect_full}. Original exception: #{original_exception.class} #{original_exception.message}")
  set_backtrace(original_exception.backtrace)
end