It would be nice if you could assign the result of a try / catch (or any block) to a variable, you can kind of emulate it with an IIFE:
const outer = (() => {
try {
...
return ...
} catch (error) {
...
}
})()