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

Function handleError

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

Source from the content-addressed store, hash-verified

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

Callers 4

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

Calls 1

warnFunction · 0.50

Tested by

no test coverage detected