# File lib/v8/error.rb, line 82 def try V8::C::TryCatch() do |trycatch| result = yield if trycatch.HasCaught() raise V8::Error(trycatch) else result end end end