My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Mark Maksi

32 likes

·

4.1K reads

2 comments

Fadhili Njagi
Fadhili Njagi
Jan 25, 2024

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.

1
·
Jyothi Kumar
Jyothi Kumar
Feb 3, 2024

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!!

1
·