Exception: NewRelic::Agent::LogEventAttributes::InvalidTypeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/new_relic/agent/log_event_attributes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attribute, msg = 'Invalid attribute type') ⇒ InvalidTypeError

Returns a new instance of InvalidTypeError.



41
42
43
44
# File 'lib/new_relic/agent/log_event_attributes.rb', line 41

def initialize(attribute, msg = 'Invalid attribute type')
  @attribute = attribute
  super(msg)
end

Instance Attribute Details

#attributeObject (readonly)

Returns the value of attribute attribute.



39
40
41
# File 'lib/new_relic/agent/log_event_attributes.rb', line 39

def attribute
  @attribute
end