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

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ddtrace/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.



139
140
141
# File 'lib/ddtrace/transport/http/builder.rb', line 139

def initialize(type)
  @type = type
end

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



137
138
139
# File 'lib/ddtrace/transport/http/builder.rb', line 137

def type
  @type
end

Instance Method Details

#messageObject



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

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