using System; using System.Web; namespace WebApp { public class Global : HttpApplication { void Application_Error(object sender, EventArgs e) { // Handle errors here } } }