When to reject/resolve a promise
问题 I am thinking about when exactly I need to reject a promise. I found a couple of questions regarding this topic, but could not find a proper answer. When should I reject a promise? This article http://howtonode.org/6666a4b74d7434144cff717c828be2c3953d46e7/promises says: Resolve: A successful Promise is 'resolved' which invokes the success listeners that are waiting and remembers the value that was resolved for future success listeners that are attached. Resolution correlates to a returned