Enhanced the `ExceptionHandlingMiddleware` to handle `ValidationException` from the `FluentValidation` library. Set HTTP status code to 422 (Unprocessable Entity) for validation errors and constructed error messages by aggregating validation error details. Improved error response clarity for validation-related issues.
ReC
Description
Languages
C#
100%