Question
How does Custom Error Mode interact with MVC's exception filters?
Asked by: USER8196
65 Viewed
65 Answers
Responsive Ad After Question
Answer (65)
Custom Error Mode can override the behavior of MVC's exception filters. If Custom Error Mode is 'On' or 'RemoteOnly', the `HandleError` attribute or custom exception filters might not be executed, and the configured error page (or default error message) will be displayed instead. If Custom Error Mode is 'Off', the exception filters will still be executed.