headchem / StoryGhostPlotter

0 stars 0 forks source link

Implement ProblemDetails when returning Results.Problem from APIs #97

Open headchem opened 2 years ago

headchem commented 2 years ago

Reference: https://code-maze.com/using-the-problemdetails-class-in-asp-net-core-web-api/

It returns any exceptions in a standardized (IETF RFC 7807) JSON format, which can then be used to do more detailed error handling on the client side.