Exception: Datadog::Transport::HTTP::Builder::NoAdapterForApiError
- Inherits:
-
StandardError
- Object
- StandardError
- Datadog::Transport::HTTP::Builder::NoAdapterForApiError
- Defined in:
- lib/ddtrace/transport/http/builder.rb
Overview
Raised when an adapter cannot be resolved for an API instance.
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key) ⇒ NoAdapterForApiError
constructor
A new instance of NoAdapterForApiError.
- #message ⇒ Object
Constructor Details
#initialize(key) ⇒ NoAdapterForApiError
Returns a new instance of NoAdapterForApiError.
145 146 147 |
# File 'lib/ddtrace/transport/http/builder.rb', line 145 def initialize(key) @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
143 144 145 |
# File 'lib/ddtrace/transport/http/builder.rb', line 143 def key @key end |
Instance Method Details
#message ⇒ Object
149 150 151 |
# File 'lib/ddtrace/transport/http/builder.rb', line 149 def "No adapter resolved for transport API '#{key}'!" end |