---
title: "Comment by Fadhili Njagi on \"How To Handle Errors in Node.js & TypeScript Like a Senior Developer\" | Hashnode"
description: "I just use the npm package express-async-errors and I can throw whatever I want, wherever I want, as long as I'm confident my error handler middleware is robust"
url: "https://hashnode.com/posts/how-to-handle-errors-in-nodejs-typescript-like-a-senior-developer/658d2601239dc048bdc07f4b/comment/65b297cf3eff0b77751a872a"
---

[Discussion](https://hashnode.com/posts/how-to-handle-errors-in-nodejs-typescript-like-a-senior-developer/658d2601239dc048bdc07f4b)

Comment [How To Handle Errors in Node.js & TypeScript Like a Senior Developer](https://hashnode.com/posts/how-to-handle-errors-in-nodejs-typescript-like-a-senior-developer/658d2601239dc048bdc07f4b)

[Fadhili Njagi](https://hashnode.com/@fadhilinjagi)

[Jan 25, 2024](https://hashnode.com/posts/how-to-handle-errors-in-nodejs-typescript-like-a-senior-developer/658d2601239dc048bdc07f4b/comment/65b297cf3eff0b77751a872a)

I just use the npm package express-async-errors and I can throw whatever I want, wherever I want, as long as I'm confident my error handler middleware is robust.
