HandleControllerExceptionAttribute class
namespace: Serenity.Services assembly: Serenity.Net.Web
An exception filter attribute to handle controller exceptions and return as view.
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public class HandleControllerExceptionAttribute : ExceptionFilterAttribute
Public Members
| name | description |
|---|---|
| HandleControllerExceptionAttribute() | The default constructor. |
| override OnException(…) |