In this article I will show you how to use TypeScript to write consistent and DRY error handling logic using the concept of abstract classes. This post follows well along with my video tutorial on YouTube. All the code and ideas mentioned here can be...

Markdown supported · ⌘↵ to post
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.
Jyothi Kumar
Computer Science Student | Tech enthusiast | Full-Stack | Open Source | DevOps
I'm a freshman trying to code server and client in my projects in typescript, and this blog is very impressive @MarkMaksi sir! clear explanation of handling all kinds of errors, very informative!!