Vue · Senior · Question 65 of 75
What does returning false from onErrorCaptured do?
- ✓Correct answer: Stops the error from propagating to parent hooks and
app.config.errorHandler - 2Rethrows the error
- 3Unmounts the component
Explanation
It lets a boundary component fully handle an error (e.g. show a fallback) without duplicate global reports.