Exception: Datadog::Core::Remote::Transport::HTTP::Negotiation::API::Instance::NegotiationNotSupportedError

Inherits:
StandardError
  • Object
show all
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

Instance Method Summary collapse

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

#specObject (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

#messageObject



109
110
111
# File 'lib/datadog/core/remote/transport/http/negotiation.rb', line 109

def message
  'Info not supported for this API!'
end