Exception: Datadog::Transport::HTTP::Client::NoDowngradeAvailableError
- Inherits:
-
StandardError
- Object
- StandardError
- Datadog::Transport::HTTP::Client::NoDowngradeAvailableError
- Defined in:
- lib/ddtrace/transport/http/client.rb
Overview
Raised when configured with an unknown API version
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(version) ⇒ NoDowngradeAvailableError
constructor
A new instance of NoDowngradeAvailableError.
- #message ⇒ Object
Constructor Details
#initialize(version) ⇒ NoDowngradeAvailableError
Returns a new instance of NoDowngradeAvailableError.
96 97 98 |
# File 'lib/ddtrace/transport/http/client.rb', line 96 def initialize(version) @version = version end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
94 95 96 |
# File 'lib/ddtrace/transport/http/client.rb', line 94 def version @version end |
Instance Method Details
#message ⇒ Object
100 101 102 |
# File 'lib/ddtrace/transport/http/client.rb', line 100 def "No downgrade from transport API version #{version} is available!" end |