Is there a better way to handle exceptions that occur inside an Action Filter itself in ASP .NET MVC?
There re 2 ways I can think of at the moment.
- Using a try catch and setting the HTTP Status Error code and message directly when an exception occurs
- Response.Redirect to the custom error page