Rajat2024 / NoteBook

Here notebook is created using React as a frontend and NodeJS as a backend. Here you can add , delete and update notes in your Mongoose database. You create a password using express validation , authentication using JWT Token and salting. An easy way to sign up and log in a notebook, context for data passing through the component.
https://mern-notebook.onrender.com/
0 stars 1 forks source link

General Error Handler #55

Closed nwokporochukwuebuka closed 1 year ago

nwokporochukwuebuka commented 1 year ago

There is no middleware error handler that can handle errors gracefully for the API

The general error handler is a piece of code or a middleware function that handles errors that occur during the execution of an application. It is responsible for catching and processing any unhandled errors that may occur in various parts of the application and providing an appropriate response to the client.

This error handler would have the following:

I would appreciate it if this can be assigned to me

nwokporochukwuebuka commented 1 year ago

I'm done implementing this issue, please check