Exception: Capybara::Poltergeist::KeyError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Capybara::Poltergeist::KeyError
- Defined in:
- lib/capybara/poltergeist/errors.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ KeyError
constructor
A new instance of KeyError.
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 |