All Questions
1 question
1
vote
2
answers
78
views
Achieve error differentiation in Promises
Background
I have a REST API using MongoDB, Node.js and Express that makes a request to my NoSQL DB and depending on different results, I want to differentiate which error I send the customer.
...