public ActionResult InvokeErrorHandler(string resource, string subResource) { var context = System.Web.HttpContext.Current; var factory = new Exceptional.HandlerFactory(); var page = factory.GetHandler(context, Request.RequestType, Request.Url.ToString(), Request.PathInfo); page.ProcessRequest(context); return null; }
public ActionResult InvokeErrorHandler(string resource, string subResource) { var context = System.Web.HttpContext.Current; var factory = new Exceptional.HandlerFactory(); var page = factory.GetHandler(context, Request.RequestType, Request.Url.ToString(), Request.PathInfo); page.ProcessRequest(context); return(null); }