Acid Coder
May 20, 2022

I agree that using this pattern make error handling repetitive, however there is one solid case: typescript

It is impossible to type rejected promise, but with this method, we can type all the error, allow developer to handle error in more precise manner

Acid Coder
Acid Coder

Written by Acid Coder

Typescript Zombie. Youtube Pikachu On Acid. (Unrelated to programming but by watching it you become a good developer overnight)

Responses (1)