The main thing in my mind is that it means your code could have cases where it throws synchronously, and cases where the promise rejects with an error.
One place this is mentioned is: https://github.com/petkaantonov/bluebird/wiki/Promise-anti-p...
One place this is mentioned is: https://github.com/petkaantonov/bluebird/wiki/Promise-anti-p...
No comments yet.