Exception: Datadog::Transport::HTTP::Traces::API::Spec::NoTraceEndpointDefinedError
- Inherits:
- 
      StandardError
      
        - Object
- StandardError
- Datadog::Transport::HTTP::Traces::API::Spec::NoTraceEndpointDefinedError
 
- Defined in:
- lib/ddtrace/transport/http/traces.rb
Overview
Raised when traces sent but no traces endpoint is defined
Instance Attribute Summary collapse
- 
  
    
      #spec  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute spec. 
Instance Method Summary collapse
- 
  
    
      #initialize(spec)  ⇒ NoTraceEndpointDefinedError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of NoTraceEndpointDefinedError. 
- #message ⇒ Object
Constructor Details
#initialize(spec) ⇒ NoTraceEndpointDefinedError
Returns a new instance of NoTraceEndpointDefinedError.
| 55 56 57 | # File 'lib/ddtrace/transport/http/traces.rb', line 55 def initialize(spec) @spec = spec end | 
Instance Attribute Details
#spec ⇒ Object (readonly)
Returns the value of attribute spec.
| 53 54 55 | # File 'lib/ddtrace/transport/http/traces.rb', line 53 def spec @spec end | 
Instance Method Details
#message ⇒ Object
| 59 60 61 | # File 'lib/ddtrace/transport/http/traces.rb', line 59 def 'No trace endpoint is defined for API specification!' end |