Exception: Datadog::Profiling::OldRecorder::UnknownEventError
- Inherits:
-
StandardError
- Object
- StandardError
- Datadog::Profiling::OldRecorder::UnknownEventError
- Defined in:
- lib/datadog/profiling/old_recorder.rb
Overview
Error when event of an unknown type is used with the OldRecorder
Instance Attribute Summary collapse
-
#event_class ⇒ Object
readonly
Returns the value of attribute event_class.
Instance Method Summary collapse
-
#initialize(event_class) ⇒ UnknownEventError
constructor
A new instance of UnknownEventError.
- #message ⇒ Object
Constructor Details
#initialize(event_class) ⇒ UnknownEventError
86 87 88 |
# File 'lib/datadog/profiling/old_recorder.rb', line 86 def initialize(event_class) @event_class = event_class end |
Instance Attribute Details
#event_class ⇒ Object (readonly)
Returns the value of attribute event_class.
84 85 86 |
# File 'lib/datadog/profiling/old_recorder.rb', line 84 def event_class @event_class end |
Instance Method Details
#message ⇒ Object
90 91 92 |
# File 'lib/datadog/profiling/old_recorder.rb', line 90 def @message ||= "Unknown event class '#{event_class}' for profiling recorder." end |