Hi,
Below code action method has 2 error methods one attribute and try catch inside
while running application which one is first execute try or handleError ?
- [HandleError(ExceptionType=typeof(ArithmeticException),View="Arthimetic")]
- [HandleError(ExceptionType = typeof(NotImplementedException),View ="Error1")]
- public ActionResult SomeError() {
- try {}
- catch(Exception ex) {
- return View("Error");}
- }
Thanks in advance