Exception: Datadog::Tracing::Transport::HTTP::Traces::API::Instance::TracesNotSupportedError
- Inherits:
-
StandardError
- Object
- StandardError
- Datadog::Tracing::Transport::HTTP::Traces::API::Instance::TracesNotSupportedError
- Defined in:
- lib/datadog/tracing/transport/http/traces.rb
Overview
Raised when traces sent to API that does not support traces
Instance Attribute Summary collapse
-
#spec ⇒ Object
readonly
Returns the value of attribute spec.
Instance Method Summary collapse
-
#initialize(spec) ⇒ TracesNotSupportedError
constructor
A new instance of TracesNotSupportedError.
- #message ⇒ Object
Constructor Details
#initialize(spec) ⇒ TracesNotSupportedError
Returns a new instance of TracesNotSupportedError.
87 88 89 90 91 |
# File 'lib/datadog/tracing/transport/http/traces.rb', line 87 def initialize(spec) super @spec = spec end |
Instance Attribute Details
#spec ⇒ Object (readonly)
Returns the value of attribute spec.
85 86 87 |
# File 'lib/datadog/tracing/transport/http/traces.rb', line 85 def spec @spec end |
Instance Method Details
#message ⇒ Object
93 94 95 |
# File 'lib/datadog/tracing/transport/http/traces.rb', line 93 def 'Traces not supported for this API!' end |