PageCatchercomponent
PageCatcher({ children }: PageCatcherProps): ReactElement| Param | Type | |
|---|---|---|
children | PageCatcherProps | The page content to guard. required |
| Return | |
|---|---|
ReactElement | A <Catcher> configured to render <ErrorPage> on error. |
Error boundary for a whole page that renders a full <ErrorPage> fallback on error.
Examples
<PageCatcher><SettingsPage /></PageCatcher>