PageCatchercomponent

PageCatcher({ children }: PageCatcherProps): ReactElement
ParamType
childrenPageCatcherProps
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>