how to get the error code in asp.net MVC3 using C#.Net
140
Views
0 Answers
Hi, My application is in asp.net mvc3 coded in c#.net. What im trying to do is creating an exception handling utility. If an error exists in the application on the code controller code then it should go to the catch statement where i want to fetch the error code of that particular error. I will pass this error code to a particular global class of mine where depending on the error code it will return a user friendly message regarding the error. Below is the link of .net error. .Net Error Code
Depending on the error code recieved i want show the message. Please suggest how can i achieve this.
Ehtesham Siddiqui Asked on: Nov 27, 2012 at 6:26PM
0 Answers
No Answers yet! Be first to Answer this Question
Post your Answer
Search
Welcome to Ask Amoeba! This is 100% free and interactive site for sharing professional Questions and Answers, Opensource projects, Interview questions. Learners, beginners, Experts stop and share your knowledge and ideas!