I want to handle uncaught exceptions in my ASP.NET MVC 3 application, so that I may communicate the error to the user via the application\'s error view. How do I intercept u
Global Error Handling
Add in web.config
Error will be displayed on Error.cshtml which is resides in shared folder
@model System.Web.Mvc.HandleErrorInfo
@{
ViewBag.Title = "Error"; }
Sorry, an error occurred while processing your request.
Controller Name: @Model.ControllerName
Action Name : @Model.ActionName
Message: @Model.Exception.Message