Exception: NewRelic::MetricSpec::InvalidScopeSettingError

Inherits:
Agent::InternalAgentError show all
Defined in:
lib/new_relic/metric_spec.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, scope) ⇒ InvalidScopeSettingError

Returns a new instance of InvalidScopeSettingError.



29
30
31
# File 'lib/new_relic/metric_spec.rb', line 29

def initialize(name, scope)
  super("Attempted to set scope for #{name} to #{scope.inspect}, ignoring.")
end