skip to Main Content

Asp.net – Flexible way to handle exception in Web API

I'm currently making a web API with .NET 6. The code bellow is my Exception handler class: public class ExceptionsMiddleware { private readonly RequestDelegate requestDelegate; private readonly ILogger<ExceptionsMiddleware> logger; public ExceptionsMiddleware(RequestDelegate requestDelegate, ILogger<ExceptionsMiddleware> logger) { this.requestDelegate = requestDelegate; this.logger =…

VIEW QUESTION

Html – Can anyone explain this error in the image below

[[enter image description here[enter image description hereenter image description here](https://phpout.com/wp-content/uploads/2023/06/0nTtB-jpg.webp)](https://phpout.com/wp-content/uploads/2023/06/I92O5-jpg.webp)](https://phpout.com/wp-content/uploads/2023/06/J58gG-jpg.webp) I ran the program but it shows error 500 and GET error and syntax endblock error. I am using flask. I tried for making a simple program in the webpage

VIEW QUESTION
Back To Top
Search