coolaj86/futures — Issue #24: Option not to throw errors
Author: esk525
Created: 2012-01-18 20:32:23+00:00
State: open

I wanted a way to not throw errors. I'd rather log them and do something with them via a callback.

I forked and added an options parameter to the future constructor. If there is a function options.error, I send the error there; if not, throw the error per the original code. I'll send you a pull request in case you want the code.

Here is an example of it in action: https://gist.github.com/1635365