ArdoErrorBoundary
On this page
Themed error/404 page. Ardo renders it for missing pages and render errors;
export a different ErrorBoundary from app/root.tsx to replace it.
import { ArdoErrorBoundary } from "ardo/ui"
<ArdoErrorBoundary />
Props
| Name | Type | Required | Description |
|---|---|---|---|
notFound | { title?: string; description?: string; homeLabel?: string; homeHref?: string } | No | Override the heading/description shown for 404 responses. |
error | { title?: string; description?: string; homeLabel?: string; homeHref?: string } | No | Override the heading/description shown for non-404 errors. |
Props type: ArdoErrorBoundaryProps
Example
// app/root.tsx
export { ArdoErrorBoundary as ErrorBoundary } from "ardo/ui"