From: johnthagen Date: Sun, 7 Feb 2021 18:18:37 +0000 (-0500) Subject: ✏ Fix typo in Tutorial - Handling Errors (#2486) X-Git-Tag: 0.64.0~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5dc3ec4a65986463e5021b0071741ea6d94bbab7;p=thirdparty%2Ffastapi%2Ffastapi.git ✏ Fix typo in Tutorial - Handling Errors (#2486) --- diff --git a/docs/en/docs/tutorial/handling-errors.md b/docs/en/docs/tutorial/handling-errors.md index 9ea2f2ad84..4fa82d5d72 100644 --- a/docs/en/docs/tutorial/handling-errors.md +++ b/docs/en/docs/tutorial/handling-errors.md @@ -39,7 +39,7 @@ This also means that if you are inside a utility function that you are calling i The benefit of raising an exception over `return`ing a value will be more evident in the section about Dependencies and Security. -In this example, when the client request an item by an ID that doesn't exist, raise an exception with a status code of `404`: +In this example, when the client requests an item by an ID that doesn't exist, raise an exception with a status code of `404`: ```Python hl_lines="11" {!../../../docs_src/handling_errors/tutorial001.py!}