Sha256: c66f69bd8ecac0da73afb7d5040d51548b8d754b328e447880128e927f4bc54e
Contents?: true
Size: 281 Bytes
Versions: 11
Compression:
Stored size: 281 Bytes
Contents
class V8::Error module Try def try context = V8::Context.current V8::C::TryCatch() do |trycatch| result = yield if trycatch.HasCaught() V8::Error(trycatch.Exception()) else result end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems