tildeio/rsvp.js — pull request #75 by teddyzeenny (2013-04-27 13:07:42+00:00)
Title: Reject promise if resolver function throws an exception

```javascript
var promise = new Promise(function() {
throw 'error';
});

promise.then(null, function(reason) {
// rejection callback is called
reason === 'error'; // true
});
```