Exception: Datadog::Profiling::Pprof::Template::NoProfilingEventConversionError
- Inherits:
 - 
      ArgumentError
      
        
- Object
 - ArgumentError
 - Datadog::Profiling::Pprof::Template::NoProfilingEventConversionError
 
 
- Defined in:
 - lib/ddtrace/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.
      95 96 97  | 
    
      # File 'lib/ddtrace/profiling/pprof/template.rb', line 95 def initialize(type) @type = type end  | 
  
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
      93 94 95  | 
    
      # File 'lib/ddtrace/profiling/pprof/template.rb', line 93 def type @type end  | 
  
Instance Method Details
#message ⇒ Object
      99 100 101  | 
    
      # File 'lib/ddtrace/profiling/pprof/template.rb', line 99 def "Profiling event type '#{type}' cannot be converted to pprof." end  |