Error
The fallback UI rendered by the admin error boundary.
Installation
pnpm dlx shadcn@latest add @chelone/errorThe fallback UI rendered by the admin error boundary.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| error | Error | — | The thrown error. |
| errorInfo | ErrorInfo | null | — | React's captured component stack (dev-facing), or null before capture. |
| resetErrorBoundary | () => void | — | Reset the boundary imperatively (in addition to the location auto-reset). |
| title | ReactNode | — | When provided, injects a `<Title>` portal to update the app-bar page title. Pass `false` to explicitly suppress a title. |