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

Function WrapInCatcher

deps/v8/test/debugger/debug/debug-liveedit-check-stack.js:63–76  ·  view source on GitHub ↗
(f, holder)

Source from the content-addressed store, hash-verified

61function Noop() {}
62
63function WrapInCatcher(f, holder) {
64 return function() {
65 delete holder[0];
66 try {
67 f();
68 } catch (e) {
69 if (e.startsWith('LiveEdit failed')) {
70 holder[0] = e;
71 } else {
72 throw e;
73 }
74 }
75 };
76}
77
78function WrapInNativeCall(f) {
79 return function() {

Callers 1

Calls 1

fFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…