globalHandleError() — vue Function Reference
Architecture documentation for the globalHandleError() function in error.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD a4857a27_f4e1_da07_9062_bb12aec29773["globalHandleError()"] d7e380c9_1d94_4f54_9ce8_7ba29b261101["handleError()"] d7e380c9_1d94_4f54_9ce8_7ba29b261101 -->|calls| a4857a27_f4e1_da07_9062_bb12aec29773 d7cd8bde_5ccc_a0ba_76ea_de047d8b982c["logError()"] a4857a27_f4e1_da07_9062_bb12aec29773 -->|calls| d7cd8bde_5ccc_a0ba_76ea_de047d8b982c style a4857a27_f4e1_da07_9062_bb12aec29773 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/util/error.ts lines 56–69
function globalHandleError(err, vm, info) {
if (config.errorHandler) {
try {
return config.errorHandler.call(null, err, vm, info)
} catch (e: any) {
// if the user intentionally throws the original error in the handler,
// do not log it twice
if (e !== err) {
logError(e, null, 'config.errorHandler')
}
}
}
logError(err, vm, info)
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does globalHandleError() do?
globalHandleError() is a function in the vue codebase.
What does globalHandleError() call?
globalHandleError() calls 1 function(s): logError.
What calls globalHandleError()?
globalHandleError() is called by 1 function(s): handleError.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free