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

Function tryAndIgnoreErrors

test/fixtures/snapshot/typescript.js:129135–129142  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

129133 }
129134 ts.tryDirectoryExists = tryDirectoryExists;
129135 function tryAndIgnoreErrors(cb) {
129136 try {
129137 return cb();
129138 }
129139 catch (_a) {
129140 return undefined;
129141 }
129142 }
129143 ts.tryAndIgnoreErrors = tryAndIgnoreErrors;
129144 function tryIOAndConsumeErrors(host, toApply) {
129145 var args = [];

Callers 2

tryDirectoryExistsFunction · 0.85
tryIOAndConsumeErrorsFunction · 0.85

Calls 1

cbFunction · 0.50

Tested by

no test coverage detected