Error

The fallback UI rendered by the admin error boundary.

Installation

pnpm dlx shadcn@latest add @chelone/error

The fallback UI rendered by the admin error boundary.

Props

PropTypeDefaultDescription
errorError—The thrown error.
errorInfoErrorInfo | 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).
titleReactNode—When provided, injects a `<Title>` portal to update the app-bar page title. Pass `false` to explicitly suppress a title.