Hi, thanks for watching this video. In this video, I have created a custom middleware for error handling using mongoose.
You will learn about the following topics in this video.
1) What is Error Handling
2) How Express catches all errors that occurs while running middleware functions
3) How Express handles errors from the synchronous code
4) How Express handles errors from the asynchronous code
5) What is next() in Express app
6) How next() works in Express app and calls the callback function
ABOUT MY CHANNEL
My channel is about teaching how to develop projects with the Frontend and Backend technologies easily. I have covered lot of cool stuffs especially for the beginners.
Check out my channel here:
/ @learnthinkcreatecode
Don't forget to subscribe!
CHECK OUT MY OTHER VIDEOS
Parking Management System Backend: • Parking Management System - Backend u...
Parking Management System Frontend: • Parking Management System - Frontend
Visitors Management System Backend: • Visitors Management system
Visitors Management System Frontend: • Visitors Management System - Frontend
Additional reference links:
https://expressjs.com/en/guide/writin...
https://expressjs.com/en/guide/error-...
Please visit this website if you are planning for tour and travel. I may receive a small commission for bookings made through these website.
For Cheap Flights booking: https://letstourandtravel.com/
For Hotel bookings: https://letstourandtravel.com/hotels/
For Cruises bookings: https://letstourandtravel.com/cruise/
For amazon products: https://letstourandtravel.com/shop/
Thank you guys for your love and support.