Skip to content

Commit c32c834

Browse files
Update src/routes/concepts/control-flow/error-boundary.mdx
Co-authored-by: Sarah <gerrardsarah@gmail.com>
1 parent 88b254e commit c32c834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/concepts/control-flow/error-boundary.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ By default, if part of an application throws an error during rendering, the enti
77
Error boundaries provide a way to catch these errors and prevent the entire app from crashing.
88

99
The [`<ErrorBoundary>`](/reference/components/error-boundary) component is used to create an error boundary.
10-
`<ErrorBoundary>` catches any error that occurs during the rendering or updating of its children.
10+
It catches any error that occurs during the rendering or updating of its children.
1111
However, an important note is that errors occurring outside the rendering process, such as in event handlers or after a `setTimeout`, are *not* caught by error boundaries.
1212

1313
The `fallback` prop can be used to display a user-friendly error message or notification when an error occurs.

0 commit comments

Comments
 (0)