ExceptionCatcherMiddleware (nuget): This is a small package that provides a simple way to catch exceptions in middleware and map them to the appropriate status code and DTO that will be sent to the client. It integrated with ASP.NET content negotiation, so you don't need to worry about serializing the DTO.
Keywords: Middleware|Exception|Catch|ExceptionCatcherMiddleware|ExceptionMiddleware|Error|ErrorHandling|ErrorHandler