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