In this chapter, we learned about error handling, one of the most important aspects to consider when writing web applications. We learned that operational errors should be dealt with, and we should allow programmer errors to crash our application. Using different techniques to improve the error objects (most notably the stack trace), we have made our debugging lives easier.
In the next chapter, we will tackle different ways of improving the performance of our Express web applications.