Skip to content

Commit

Permalink
Merge pull request #45 from zeynepozturkmen/Rick-Anderson-patch-10
Browse files Browse the repository at this point in the history
Update handle-errors.md
  • Loading branch information
meslubi2021 authored Dec 20, 2024
2 parents 42627e5 + b68c06b commit 79753be
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion aspnetcore/web-api/handle-errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,13 @@ For web API controllers, MVC responds with a <xref:Microsoft.AspNetCore.Mvc.Vali
## Client error response
An *error result* is defined as a result with an HTTP status code of 400 or higher. For web API controllers, MVC transforms an error result to a result with <xref:Microsoft.AspNetCore.Mvc.ProblemDetails>.
An *error result* is defined as a result with an HTTP status code of 400 or higher.
::: moniker range="> aspnetcore-2.1"
For web API controllers, MVC transforms an error result to a result with <xref:Microsoft.AspNetCore.Mvc.ProblemDetails>.
::: moniker-end
The error response can be configured in one of the following ways:
Expand Down

0 comments on commit 79753be

Please sign in to comment.