Method: Selenium::WebDriver::Remote::Response#error
- Defined in:
- lib/selenium/webdriver/remote/response.rb
#error ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
18 19 20 21 22 23 24 25 26 |
# File 'lib/selenium/webdriver/remote/response.rb', line 18 def error klass = Error.for_code(@payload['status']) || return ex = klass.new() ex.set_backtrace(caller) add_backtrace ex ex end |