Home / Function/ globalHandleError() — vue Function Reference

globalHandleError() — vue Function Reference

Architecture documentation for the globalHandleError() function in error.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  d1be0b2a_abc4_ab7d_605c_3ca7e9b6c3db["globalHandleError()"]
  b8db5ebb_37ca_9a58_b300_9c9942dd0428["handleError()"]
  b8db5ebb_37ca_9a58_b300_9c9942dd0428 -->|calls| d1be0b2a_abc4_ab7d_605c_3ca7e9b6c3db
  c7b5f55f_0f7d_af26_234f_6506ceb90949["logError()"]
  d1be0b2a_abc4_ab7d_605c_3ca7e9b6c3db -->|calls| c7b5f55f_0f7d_af26_234f_6506ceb90949
  style d1be0b2a_abc4_ab7d_605c_3ca7e9b6c3db 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

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