DEV Community

Discussion on: Let's Clean Up: Ugly Try-Catches!

broflylow profile image
Haritonich • Edited on

There is already another solution that was created years ago, he took approach to handle errors same way as in GO

Anyway good job mate !

coly010 profile image
Colum Ferry Author

Awesome link, there is something similar to the above called await-of that also handles promises, I wanted a method that also worked for standard methods that throw errors.