class Bundler::Worker

def apply_func(obj, i)

def apply_func(obj, i)
  @func.call(obj, i)
rescue Exception => e
  WrappedException.new(e)
end