title: Generating the standard ASP.NET 'uncaught exception' page HTML from the exception itself?
body: <p>Is it possible to generate the HTML page normally shown for an uncaught exception in ASP.NET, using an <strong>Exception</strong> object?</p>
  
  <p>I have an app that catches an exception in <strong>Global.asax -> Application_Error</strong>, and does a <strong>Server.Transfer()</strong> to our pretty general-error page. I have an <strong>#if DEBUG</strong> flag that's pulling out the Exception from <strong>Server.GetLastError()</strong> and is currently custom formatting it.</p>
  
  <p>But now I'm curious if I can get the HTML normally given, and put it in something like the link from a jQuery ThickBox overlay...</p>
  
  <p>Thanks.</p>