peetzweg / aves

0 stars 0 forks source link

Unify Catch Blocks #35

Open peetzweg opened 7 years ago

peetzweg commented 7 years ago

It's possible to just have one catch block which will handle the error process, instead of each promise individually.

peetzweg commented 7 years ago

https://hackernoon.com/javascript-promises-best-practices-anti-patterns-b32309f65551#.b5jd6i6sp