Exception: Datadog::Core::Transport::HTTP::Builder::UnknownAdapterError
- Inherits:
-
StandardError
- Object
- StandardError
- Datadog::Core::Transport::HTTP::Builder::UnknownAdapterError
- Defined in:
- lib/datadog/core/transport/http/builder.rb
Overview
Raised when the identifier cannot be matched to an adapter.
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type) ⇒ UnknownAdapterError
constructor
A new instance of UnknownAdapterError.
- #message ⇒ Object
Constructor Details
#initialize(type) ⇒ UnknownAdapterError
Returns a new instance of UnknownAdapterError.
174 175 176 177 178 |
# File 'lib/datadog/core/transport/http/builder.rb', line 174 def initialize(type) super() @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
172 173 174 |
# File 'lib/datadog/core/transport/http/builder.rb', line 172 def type @type end |
Instance Method Details
#message ⇒ Object
180 181 182 |
# File 'lib/datadog/core/transport/http/builder.rb', line 180 def "Unknown transport adapter '#{type}'!" end |