ValidationException class: Custom class vs FluentValidation class #821
Unanswered
smariano88
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
FluentValidation library has this class:
https://github.com/FluentValidation/FluentValidation/blob/7604dc9114183aa302e1374e5a96dbfdb42a659d/src/FluentValidation/ValidationException.cs
And the template creates a very similar one:
https://github.com/jasontaylordev/CleanArchitecture/blob/413fb3a68a0467359967789e347507d7e84c48d4/src/Application/Common/Exceptions/ValidationException.cs
I was wondering what's the benefit of creating a custom class instead of using the one that comes in the FluentValidation library?
Is it to have more control over it or is there something else?
Beta Was this translation helpful? Give feedback.
All reactions