ASP.Net global error handler for all... but a few
<p>i want to implement a global error handler for my asp.net website.</p>

<p>I usually implement this in the global.asax by logging the error and redirecting to an error page.</p>

<p>So far so good, but in this case we have calls to asmx webservices from Jquery, and, sorry to say, Errors thrown in the asmx webservice are used in the calling Jquery.
So when errors are thrown from an asmx file, i want to log them and rethrow them</p>

<p>The only thing i could come up with is to check for the .asmx extension in the stacktrace, but was hoping for some other way (don't know why, but string checking just feels awkward)</p>
