I have some tricky AJAX code on a form, and sometimes it will fail (don\'t ask why, I can\'t get around it). When this happens, I need to trap the error, reset a hidden fie
try/catch also introduces an additional error object that only has the scope of the catch. In applications where performance matters, this is not a good idea.