If at first you don't succeed, try-catch.
The Catch on the River Try™® will wrap every block and function expression in a try-catch statements that does not throw within the catch
block.
Enjoy the glory of exception-free code today, and it's FREE!
errorSteamroller.wrapSrc
to wrap a block of code, or errorSteamroller.wrap
to wrap a syntax tree. eval
the return value and enjoy!
public domain i guess. by the way this is nearly an exact copy of https://github.com/shz/catcher-in-the-try so check that out i suppose