vue-storefront-api icon indicating copy to clipboard operation
vue-storefront-api copied to clipboard

Refactoring / better error handling

Open andrzejewsky opened this issue 5 years ago • 0 comments

There are so many places that could be improved especially when it comes to error handling as sometimes it's even hard to guess what's the meaning of the raised errors. Same with the readability, we can see some of callback hells that needs to be refactored.

https://github.com/DivanteLtd/vue-storefront-api/blob/develop/scripts/db.js#L20-L52 https://github.com/DivanteLtd/vue-storefront-api/blob/develop/scripts/db7.js#L24-L47

etc.

andrzejewsky avatar Nov 28 '19 12:11 andrzejewsky