Description
The preceding code:
- Writes an error message with the fallback code if the problemDetailsService is unable to write a ProblemDetails. For example, an endpoint where the Accept request header specifies a media type that the DefaulProblemDetailsWriter does not support.
I miss a link or Note with which Media Types I would need to use the second sample on this page, that is not supported by the default DefaultProblemDetailsWriter you are reffering to. The API Reference does not list those unsupported ones either
Page URL
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/error-handling-api?view=aspnetcore-10.0&tabs=minimal-apis#problem-details
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/error-handling-api.md
Document ID
5ad65468-c51c-9899-c435-6e99d734d0b8
Platform Id
bc49b255-ac35-3229-e350-58e76d52238c
Article author
@brunolins16
Metadata
- ID: 5ad65468-c51c-9899-c435-6e99d734d0b8
- PlatformId: bc49b255-ac35-3229-e350-58e76d52238c
- Service: aspnet-core
- Sub-service: fundamentals