class Bucky::Core::Exception::WebdriverException

Error handling on webdriver @param [Object] err exception object @param [String] proc_name

Public Class Methods

handle(err, proc_name = nil) click to toggle source
# File lib/bucky/core/exception/bucky_exception.rb, line 34
def handle(err, proc_name = nil)
  super(err)
  raise err if proc_name.nil?

  raise(err.class, "#{err.message}\nFail in proc: ##{proc_name}")
end