Quantcast
Channel: Fluent Validation for .NET
Viewing all articles
Browse latest Browse all 1917

New Post: Providing a category with each validator

$
0
0
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?

Viewing all articles
Browse latest Browse all 1917

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>