asp.net mvc error handling -


i'm newbie .net mvc developer , want know, there anyway develop own error handler without using famous try/catch statement. i'm using xml file render components in view, , want example error message useful me know violated constraint based on xml file

(example if add tag without >'type' attribute, can generate message me @ runtime). hope make myself clear in advance,

in global.asax can catch exceptions, global.asax has many handlers of events on aplication application_start or need application_error

void application_error(){       exception exception = server.getlasterror();      //do need exception... } 

Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -