Exception: NewRelic::Agent::LogEventAttributes::InvalidTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- NewRelic::Agent::LogEventAttributes::InvalidTypeError
- Defined in:
- lib/new_relic/agent/log_event_attributes.rb
Instance Attribute Summary collapse
-
#attribute ⇒ Object
readonly
Returns the value of attribute attribute.
Instance Method Summary collapse
-
#initialize(attribute, msg = 'Invalid attribute type') ⇒ InvalidTypeError
constructor
A new instance of InvalidTypeError.
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
#attribute ⇒ Object (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 |