Exception: Capybara::Poltergeist::KeyError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/capybara/poltergeist/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ KeyError

Returns a new instance of KeyError.



160
161
162
# File 'lib/capybara/poltergeist/errors.rb', line 160

def initialize(response)
  super(response["args"].first)
end