Skip to content

Added route-level error boundaries and fallback UI#421

Open
Devangee20 wants to merge 1 commit into
viru0909-dev:mainfrom
Devangee20:fix-route-error-boundaries
Open

Added route-level error boundaries and fallback UI#421
Devangee20 wants to merge 1 commit into
viru0909-dev:mainfrom
Devangee20:fix-route-error-boundaries

Conversation

@Devangee20
Copy link
Copy Markdown

@Devangee20 Devangee20 commented May 17, 2026

Pull Request

Description

Added route-level ErrorBoundary wrappers for important dashboard pages to prevent the entire application from crashing when a single route fails. Implemented isolated error handling for:

Litigant routes
Lawyer routes
Judge routes

Wrapped critical pages with ErrorBoundary components so fallback UI is shown only for the affected page. -->
Closes #314

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@Devangee20 Devangee20 requested a review from viru0909-dev as a code owner May 17, 2026 08:37
@vercel
Copy link
Copy Markdown

vercel Bot commented May 17, 2026

@Devangee20 is attempting to deploy a commit to the CodeBlooded's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nyaysetu Ready Ready Preview, Comment May 17, 2026 1:34pm

@viru0909-dev
Copy link
Copy Markdown
Owner

@Devangee20 Please write a detailed description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Proper Error Boundary for Dashboard Routes

2 participants