Throw the error in the next tick
npm install throw-next-tick> Throw the error in the next tick
`` sh`
$ npm install throw-next-tick --save
Can be used as a .done replacement for promises:
` js
var throwNextTick = require('throw-next-tick');
promiseOfSomething
.then(function(something) { ... })
.catch(throwNextTick);
``