Exception: NewRelic::Agent::StatsHash::StatsHashLookupError
- Inherits:
-
InternalAgentError
- Object
- StandardError
- InternalAgentError
- NewRelic::Agent::StatsHash::StatsHashLookupError
- Defined in:
- lib/new_relic/agent/stats_engine/stats_hash.rb
Instance Method Summary collapse
-
#initialize(original_error, hash, metric_spec) ⇒ StatsHashLookupError
constructor
A new instance of StatsHashLookupError.
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.}. Falling back adding #{metric_spec.inspect}") end |