Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 912 Bytes

HandleControllerExceptionAttribute.md

File metadata and controls

20 lines (14 loc) · 912 Bytes

HandleControllerExceptionAttribute class

namespace: Serenity.Services   assemblySerenity.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(…)

See Also