Exception: Datadog::Transport::HTTP::Traces::API::Spec::NoTraceEndpointDefinedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ddtrace/transport/http/traces.rb

Overview

Raised when traces sent but no traces endpoint is defined

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(spec) ⇒ NoTraceEndpointDefinedError

Returns a new instance of NoTraceEndpointDefinedError.



52
53
54
# File 'lib/ddtrace/transport/http/traces.rb', line 52

def initialize(spec)
  @spec = spec
end

Instance Attribute Details

#specObject (readonly)

Returns the value of attribute spec.



50
51
52
# File 'lib/ddtrace/transport/http/traces.rb', line 50

def spec
  @spec
end

Instance Method Details

#messageObject



56
57
58
# File 'lib/ddtrace/transport/http/traces.rb', line 56

def message
  'No trace endpoint is defined for API specification!'
end