MCPcopy Index your code
hub / github.com/TruthHun/BookStack / handleError

Function handleError

static/vuejs/vue.runtime.esm.js:1434–1448  ·  view source on GitHub ↗
(err, vm, info)

Source from the content-addressed store, hash-verified

1432}
1433
1434function handleError (err, vm, info) {
1435 if (config.errorHandler) {
1436 config.errorHandler.call(null, err, vm, info);
1437 } else {
1438 if (process.env.NODE_ENV !== 'production') {
1439 warn(("Error in " + info + ":"), vm);
1440 }
1441 /* istanbul ignore else */
1442 if (inBrowser && typeof console !== 'undefined') {
1443 console.error(err);
1444 } else {
1445 throw err
1446 }
1447 }
1448}
1449
1450/* not type checking this file because flow doesn't play well with Proxy */
1451

Callers 4

callHookFunction · 0.70
vue.runtime.esm.jsFile · 0.70
getDataFunction · 0.70
renderMixinFunction · 0.70

Calls 1

warnFunction · 0.50

Tested by

no test coverage detected