Vue · Senior · Question 35 of 75

What does a global app.config.errorHandler give you that onErrorCaptured doesn't?

Explanation

Use onErrorCaptured for local error boundaries with fallback UI, and the global handler (or Sentry's Vue integration) for reporting.

Further reading

Problem with a question

Vue · Senior · question 35

Test yourself

Take the Vue · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz