Skip to content

Commit b68c06b

Browse files
Update handle-errors.md
1 parent f649de0 commit b68c06b

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
@@ -260,7 +260,13 @@ For web API controllers, MVC responds with a <xref:Microsoft.AspNetCore.Mvc.Vali
260260

261261
## Client error response
262262

263-
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>.
263+
An *error result* is defined as a result with an HTTP status code of 400 or higher.
264+
265+
::: moniker range="> aspnetcore-2.1"
266+
267+
For web API controllers, MVC transforms an error result to a result with <xref:Microsoft.AspNetCore.Mvc.ProblemDetails>.
268+
269+
::: moniker-end
264270

265271
::: moniker range="= aspnetcore-2.1"
266272

0 commit comments

Comments
 (0)