| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1 1 1 1 5 8 8 8 3 3 3 3 | (function(){
var σ;
σ = require('highland');
exports.handleException = function(f){
return function(){
var e;
try {
return σ([f.apply(this, arguments)]);
} catch (e$) {
e = e$;
return σ(function(push, next){
push(e);
return next();
});
}
};
};
}).call(this);
|