Better Error Handling in Express.js

Kevin Luu
codeburst
Published in
4 min readApr 3, 2020

--

Simplify your code by using an error handling middleware

Photo by Samantha Gades on Unsplash

Due to the unopinionated nature of JavaScript, there are many ways to accomplish a single task. This can be a double edge sword, especially when working in a larger team setting. This is where processes and guidelines come into play. In this article I’m going to show you how my team does error handling in an Express.js application using an error…

--

--