status code pages

ASP.NET Core middleware that adds a body, such as Problem Details, to error responses that an endpoint returned without one.

In more detail

It only acts on responses that have an error status and no body. Paired with AddProblemDetails, a bare 404 gets the same error shape as every other failure.

Related terms

Taught in

References