Class: Bucky::Core::Exception::WebdriverException

Inherits:
BuckyException show all
Defined in:
lib/bucky/core/exception/bucky_exception.rb

Constant Summary

Constants included from Utils::BuckyLogger

Utils::BuckyLogger::LogFileDir

Class Method Summary collapse

Methods included from Utils::BuckyLogger

write

Class Method Details

.handle(err, proc_name = nil) ⇒ Object

Raises:

  • (err.class)


32
33
34
35
36
37
# File 'lib/bucky/core/exception/bucky_exception.rb', line 32

def handle(err, proc_name = nil)
  super
  raise err if proc_name.nil?

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