Vue · Middle · Question 47 of 75

How do you catch errors from descendant components?

Explanation

onErrorCaptured can show a fallback UI and return false to stop propagation. app.config.errorHandler is the place to report errors to monitoring.

Further reading

Problem with a question

Vue · Middle · question 47

Test yourself

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

Take this quiz