Exception: Datadog::Core::Remote::Transport::HTTP::Config::Response::KeyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/datadog/core/remote/transport/http/config.rb

Overview

When an expected key is missing

Instance Method Summary collapse

Constructor Details

#initialize(key) ⇒ KeyError

Returns a new instance of KeyError.



142
143
144
145
146
# File 'lib/datadog/core/remote/transport/http/config.rb', line 142

def initialize(key)
  message = "key not found: #{key.inspect}"

  super(message)
end