Is there such a thing as a 'catch all' JavaScript error handler?
<p>I'm finding that with asynchronous callbacks I'm needing to write a try/catch for each callback function.  It seems a bit error prone is there a method or technique whereby I can implement a single top level try/catch that catches everything? If not is the technique that I'm using considered good practice or is there a better way to do things?</p>
