How to reject a promise from inside then function
This is probably a silly question, but mid promise chain, how do you reject a promise from inside one of the then functions? For example: someActionThatReturnsAPromise() .then(function(resour...