Exception: Datadog::Core::Transport::HTTP::Builder::UnknownAdapterError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/datadog/core/transport/http/builder.rb

Overview

Raised when the identifier cannot be matched to an adapter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ UnknownAdapterError

Returns a new instance of UnknownAdapterError.



145
146
147
148
149
# File 'lib/datadog/core/transport/http/builder.rb', line 145

def initialize(type)
  super()

  @type = type
end

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



143
144
145
# File 'lib/datadog/core/transport/http/builder.rb', line 143

def type
  @type
end

Instance Method Details

#messageObject



151
152
153
# File 'lib/datadog/core/transport/http/builder.rb', line 151

def message
  "Unknown transport adapter '#{type}'!"
end