0
haytham created
Hello How can read/catch ValidationResult in void OnException(ExceptionContext context)
thanks
3 Answer(s)
-
0
if (context.Exception is AbpValidationException) { // ... }
ASP.NET Core: Implement IExceptionFilter, e.g. AbpExceptionFilter MVC5: Available in controller, e.g. AbpController
-
0
thanks for your reply but how to read the message from ValidationResult
-
0
<a class="postlink" href="https://stackoverflow.com/questions/12552687/get-error-message-when-using-custom-validation-attribute">https://stackoverflow.com/questions/125 ... -attribute</a>