✅ 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?
4 Replies
global exception handler
like an Unhandled exception handler?
or a post request handler
within MediatR
where should this be handled? checked a few example projects and can't find where it is being handled
it must be somewhere I just can't find it over all abstraction 😐
found it, it is in the API
i will implement one there as well