Exception: Datadog::Core::Remote::Transport::HTTP::Negotiation::API::Instance::NegotiationNotSupportedError
- Inherits:
-
StandardError
- Object
- StandardError
- Datadog::Core::Remote::Transport::HTTP::Negotiation::API::Instance::NegotiationNotSupportedError
- Defined in:
- lib/datadog/core/remote/transport/http/negotiation.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) ⇒ NegotiationNotSupportedError
constructor
A new instance of NegotiationNotSupportedError.
- #message ⇒ Object
Constructor Details
#initialize(spec) ⇒ NegotiationNotSupportedError
Returns a new instance of NegotiationNotSupportedError.
103 104 105 106 107 |
# File 'lib/datadog/core/remote/transport/http/negotiation.rb', line 103 def initialize(spec) super() @spec = spec end |
Instance Attribute Details
#spec ⇒ Object (readonly)
Returns the value of attribute spec.
101 102 103 |
# File 'lib/datadog/core/remote/transport/http/negotiation.rb', line 101 def spec @spec end |
Instance Method Details
#message ⇒ Object
109 110 111 |
# File 'lib/datadog/core/remote/transport/http/negotiation.rb', line 109 def 'Info not supported for this API!' end |