Hi,
I'm using FluentValidation from within my domain and application layer. But I don't find a way to know from which layer a ValidationException was raised. For example, I would like to specify a category for each validator; so that when I catch the ValidationException I know the category and handle accordingly.
Is this possible somehow?
I'm using FluentValidation from within my domain and application layer. But I don't find a way to know from which layer a ValidationException was raised. For example, I would like to specify a category for each validator; so that when I catch the ValidationException I know the category and handle accordingly.
Is this possible somehow?