Exception: NewRelic::Agent::StatsHash::StatsHashLookupError

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

Instance Method Summary collapse

Constructor Details

#initialize(original_error, hash, metric_spec) ⇒ StatsHashLookupError

Returns a new instance of StatsHashLookupError.



96
97
98
# File 'lib/new_relic/agent/stats_engine/stats_hash.rb', line 96

def initialize(original_error, hash, metric_spec)
  super("Lookup error in StatsHash: #{original_error.class}: #{original_error.message}. Falling back adding #{metric_spec.inspect}")
end