MCPcopy
hub / github.com/angular/angular / catchError

Function catchError

tools/bazel/node_loader/hooks.mjs:69–75  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

67};
68
69async function catchError(fn) {
70 try {
71 return await fn();
72 } catch {
73 return null;
74 }
75}

Callers 15

resolveFunction · 0.85
getHeroesMethod · 0.85
getHeroMethod · 0.85
addHeroMethod · 0.85
deleteHeroMethod · 0.85
searchHeroesMethod · 0.85
updateHeroMethod · 0.85
trackEventsFunction · 0.85
preloadMethod · 0.85
preloadMethod · 0.85
setupNavigationsMethod · 0.85

Calls 1

fnFunction · 0.50

Tested by 2

preloadMethod · 0.68
preloadMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…