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
Post a Comment