Svelte · Senior · Question 17 of 75
Which errors does <svelte:boundary> NOT catch?
- ✓Correct answer: Errors in event handlers,
setTimeoutcallbacks and other code outside rendering and effects - 2Errors thrown during rendering of child components
- 3Errors thrown inside
$effect
Explanation
Handle those in the handler itself. The onerror prop can report caught errors to monitoring; failed receives error and reset.