Exception: Datadog::Core::Remote::Transport::HTTP::Config::Response::TypeError
- Inherits:
-
StandardError
- Object
- StandardError
- Datadog::Core::Remote::Transport::HTTP::Config::Response::TypeError
- Defined in:
- lib/datadog/core/remote/transport/http/config.rb
Overview
When an expected value type is incorrect
Instance Method Summary collapse
-
#initialize(type, value) ⇒ TypeError
constructor
A new instance of TypeError.
Constructor Details
#initialize(type, value) ⇒ TypeError
Returns a new instance of TypeError.
151 152 153 154 155 |
# File 'lib/datadog/core/remote/transport/http/config.rb', line 151 def initialize(type, value) = "not a #{type}: #{value.inspect}" super() end |