MCPcopy
hub / github.com/react/create-react-app / onerror

Function onerror

packages/react-error-overlay/fixtures/bundle_u.mjs:5239–5245  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

5237 }
5238 };
5239 var onerror = function(err) {
5240 debug('onerror', err);
5241 if (iframe) {
5242 cleanup();
5243 errorCallback(err);
5244 }
5245 };
5246 var post = function(msg, origin) {
5247 debug('post', msg, origin);
5248 try {

Callers 1

bundle_u.mjsFile · 0.70

Calls 2

debugFunction · 0.70
cleanupFunction · 0.70

Tested by

no test coverage detected