i'm a newbie .net mvc developer and i want to know, is there anyway to develop my own error handler without using the famous try/catch statement. i'm using an XML file to render components in a view, and i want for example to get an error message useful for me to know that i violated a constraint based on the xml file
(example if i add another tag without >'type' attribute, this can generate a message for me at runtime). i hope i make myself clear thanks in advance,