MCPcopy Create free account
hub / github.com/TruthHun/BookStack / handleError

Function handleError

static/vuejs/vue.js:1444–1458  ·  view source on GitHub ↗
(err, vm, info)

Source from the content-addressed store, hash-verified

1442}
1443
1444function handleError (err, vm, info) {
1445 if (config.errorHandler) {
1446 config.errorHandler.call(null, err, vm, info);
1447 } else {
1448 {
1449 warn(("Error in " + info + ":"), vm);
1450 }
1451 /* istanbul ignore else */
1452 if (inBrowser && typeof console !== 'undefined') {
1453 console.error(err);
1454 } else {
1455 throw err
1456 }
1457 }
1458}
1459
1460/* not type checking this file because flow doesn't play well with Proxy */
1461

Callers 4

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

Calls 1

warnFunction · 0.50

Tested by

no test coverage detected