Exception: Datadog::Profiling::Pprof::Template::NoProfilingEventConversionError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Datadog::Profiling::Pprof::Template::NoProfilingEventConversionError
- Defined in:
- lib/datadog/profiling/pprof/template.rb
Overview
Error when an unknown event type is given to be converted
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type) ⇒ NoProfilingEventConversionError
constructor
A new instance of NoProfilingEventConversionError.
- #message ⇒ Object
Constructor Details
#initialize(type) ⇒ NoProfilingEventConversionError
Returns a new instance of NoProfilingEventConversionError.
94 95 96 |
# File 'lib/datadog/profiling/pprof/template.rb', line 94 def initialize(type) @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
92 93 94 |
# File 'lib/datadog/profiling/pprof/template.rb', line 92 def type @type end |
Instance Method Details
#message ⇒ Object
98 99 100 |
# File 'lib/datadog/profiling/pprof/template.rb', line 98 def "Profiling event type '#{type}' cannot be converted to pprof." end |