Skip to main content
Our new developer certification is live!

ClientErrorBoundary

Client-side wrapper for ErrorBoundary component.

Props

PropTypeRequiredDefaultDescription
childrenReactNodeYes-Child components to wrap

Usage

import ClientErrorBoundary from '@/components/system/ClientErrorBoundary';

<ClientErrorBoundary>
  <YourComponent />
</ClientErrorBoundary>

Features

  • Client-side only: Wraps ErrorBoundary for client-side usage
  • Simple wrapper: Passes children directly to ErrorBoundary

Notes

  • Client-side component (uses 'use client')
  • Simple wrapper around ErrorBoundary
  • No additional props or configuration