Class: Bucky::Core::Exception::BuckyException

Inherits:
Object
  • Object
show all
Includes:
Utils::BuckyLogger
Defined in:
lib/bucky/core/exception/bucky_exception.rb

Direct Known Subclasses

DbConnectorException, WebdriverException

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) ⇒ Object

Error handling on bucky framework

Parameters:

  • err (Object)

    exception object



14
15
16
# File 'lib/bucky/core/exception/bucky_exception.rb', line 14

def handle(err)
  Bucky::Utils::BuckyLogger.write(Bucky::Utils::Config.instance[:bucky_error], err)
end