Exceptions.js provides error reporting with stacktraces, screenshots, DOM dumps, browser information, etc. The library can be used as a standalone open source project ...
In JavaScript try/catch/finally are called exception handling statements. In JavaScript try/catch/finally statement manage some or all of the errors that might occur in a block of code.