Skip to content

Add centralized error handling middleware#35

Open
santoshikumbhar3-art wants to merge 1 commit into
Pushkarini579:mainfrom
santoshikumbhar3-art:main
Open

Add centralized error handling middleware#35
santoshikumbhar3-art wants to merge 1 commit into
Pushkarini579:mainfrom
santoshikumbhar3-art:main

Conversation

@santoshikumbhar3-art

Copy link
Copy Markdown

Implemented centralized error handling middleware.

Changes:

  • Created middleware/errorMiddleware.js
  • Refactored routes to use next(error)
  • Added centralized error handler in index.js

Fixes #6

@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

@santoshikumbhar3-art is attempting to deploy a commit to the Pushkarini 's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

[Server] Centralized Error Handling Middleware

1 participant