✅ MediatR exceptions
I am building an API having business logic in another layer and when validation error occurs I catch it, where should I handle this exception, should I handle it in the API like
or is there a better way?
or is there a better way?