MCPcopy Index your code
hub / github.com/nodejs/node / TryCatch

Function TryCatch

deps/v8/tools/generate-builtins-tests.py:46–47  ·  view source on GitHub ↗
(result, string, exception_behavior = "")

Source from the content-addressed store, hash-verified

44
45# Wraps |string| in try..catch.
46def TryCatch(result, string, exception_behavior = ""):
47 result.append("try { %s } catch(e) { %s }" % (string, exception_behavior))
48
49
50def BuildTests(function, full_name, options):

Callers 1

BuildTestsFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected