Object
# File tests/drivers/base/exceptions_test.rb, line 11 def raise_exception(id) case id when 1 then safely { raise 'test1 exception' } when 2 then safely { raise TestException } when 3 then safely { raise 'not captured' } end end