Skip to content

Commit 4509d3b

Browse files
committed
explain what happens if onerror throws
1 parent 93b16b1 commit 4509d3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

documentation/docs/05-special-elements/01-svelte-boundary.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,5 @@ If an `onerror` function is provided, it will be called with the same two `error
7575
</button>
7676
{/if}
7777
```
78+
79+
If an error occurs inside the `onerror` function (or if you rethrow the error), it will be handled by a parent boundary if such exists.

0 commit comments

Comments
 (0)