trycatch
trycatch copied to clipboard
Add typed catch support
And Error.create for convenience.
Something like...
trycatch(function() {
...
}, [EvalError], function(err) {
// only catch EvalError
})