Exception: Datadog::Core::Remote::Transport::HTTP::Config::API::Instance::ConfigNotSupportedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/datadog/core/remote/transport/http/config.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) ⇒ ConfigNotSupportedError

Returns a new instance of ConfigNotSupportedError.



231
232
233
234
235
# File 'lib/datadog/core/remote/transport/http/config.rb', line 231

def initialize(spec)
  super()

  @spec = spec
end

Instance Attribute Details

#specObject (readonly)

Returns the value of attribute spec.



229
230
231
# File 'lib/datadog/core/remote/transport/http/config.rb', line 229

def spec
  @spec
end

Instance Method Details

#messageObject



237
238
239
# File 'lib/datadog/core/remote/transport/http/config.rb', line 237

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