Exception: Datadog::Profiling::Recorder::UnknownEventError
- Inherits:
-
StandardError
- Object
- StandardError
- Datadog::Profiling::Recorder::UnknownEventError
- Defined in:
- lib/ddtrace/profiling/recorder.rb
Overview
Error when event of an unknown type is used with the Recorder
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
Returns a new instance of UnknownEventError.
75 76 77 |
# File 'lib/ddtrace/profiling/recorder.rb', line 75 def initialize(event_class) @event_class = event_class end |
Instance Attribute Details
#event_class ⇒ Object (readonly)
Returns the value of attribute event_class.
73 74 75 |
# File 'lib/ddtrace/profiling/recorder.rb', line 73 def event_class @event_class end |
Instance Method Details
#message ⇒ Object
79 80 81 |
# File 'lib/ddtrace/profiling/recorder.rb', line 79 def @message ||= "Unknown event class '#{event_class}' for profiling recorder." end |