Handle errors centrally in Node.js

sadiqur_rahman

Sadiqur Rahman

Posted on June 13, 2022

Handle errors centrally in Node.js

A very important spice to cook a healthy app, "Handle errors centrally. Not within middlewares". Here is a simple implementation that might help new developers.

Rules:
https://github.com/goldbergyoni/nodebestpractices/blob/master/sections/errorhandling/centralizedhandling.md

Implementation:
https://github.com/despider001/handle-error-centrally

💖 💪 🙅 🚩
sadiqur_rahman
Sadiqur Rahman

Posted on June 13, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

What was your win this week?
weeklyretro What was your win this week?

November 29, 2024

Where GitOps Meets ClickOps
devops Where GitOps Meets ClickOps

November 29, 2024

How to Use KitOps with MLflow
beginners How to Use KitOps with MLflow

November 29, 2024

Modern C++ for LeetCode 🧑‍💻🚀
leetcode Modern C++ for LeetCode 🧑‍💻🚀

November 29, 2024