MCPcopy Create free account
hub / github.com/caseywebdev/react-list / logUncaughtError

Function logUncaughtError

docs/index.js:8699–8708  ·  view source on GitHub ↗
(root, errorInfo)

Source from the content-addressed store, hash-verified

8697 reportGlobalError(error);
8698}
8699function logUncaughtError(root, errorInfo) {
8700 try {
8701 var onUncaughtError = root.onUncaughtError;
8702 onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack });
8703 } catch (e$68) {
8704 setTimeout(function () {
8705 throw e$68;
8706 });
8707 }
8708}
8709function logCaughtError(root, boundary, errorInfo) {
8710 try {
8711 var onCaughtError = root.onCaughtError;

Callers 3

createRootErrorUpdateFunction · 0.85
handleThrowFunction · 0.85
throwAndUnwindWorkLoopFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…