README.md

tryCatch

Emulates a native try/catch block for customized functionality and greater performance benefits in some circumstances. Please refer to the blog post for more detailed information regarding this project. Be advised, this is an expertimental project, use at your own risk.

Usage

The function has two required parameters, the first being a "try" function to test code, the second being a "catch" function which will be invoked and passed an error object if an exception is raised.