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.
141 142 143 144 145 |
# File 'lib/datadog/core/transport/http/builder.rb', line 141 def initialize(type) super() @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
139 140 141 |
# File 'lib/datadog/core/transport/http/builder.rb', line 139 def type @type end |
Instance Method Details
#message ⇒ Object
147 148 149 |
# File 'lib/datadog/core/transport/http/builder.rb', line 147 def "Unknown transport adapter '#{type}'!" end |