Skip to content

Commit 79753be

Browse files
author
billal mesloub
authored
Merge pull request #45 from zeynepozturkmen/Rick-Anderson-patch-10
Update handle-errors.md
2 parents 42627e5 + b68c06b commit 79753be

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

aspnetcore/web-api/handle-errors.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,13 @@ For web API controllers, MVC responds with a <xref:Microsoft.AspNetCore.Mvc.Vali
549549
550550
## Client error response
551551
552-
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>.
552+
An *error result* is defined as a result with an HTTP status code of 400 or higher.
553+
554+
::: moniker range="> aspnetcore-2.1"
555+
556+
For web API controllers, MVC transforms an error result to a result with <xref:Microsoft.AspNetCore.Mvc.ProblemDetails>.
557+
558+
::: moniker-end
553559
554560
The error response can be configured in one of the following ways:
555561

0 commit comments

Comments
 (0)