Posted on October 25, 2022 by natanASP.NET Core global exception handling To add global exception handling in ASP.NET Core just use configuration method: app.UseExceptionHandler https://learn.microsoft.com/en-us/aspnet/core/fundamentals/error-handling?view=aspnetcore-6.0#exception-handler-lambda