Browse Source

✏ Fix typo in Tutorial - Handling Errors (#2486)

pull/2769/head
johnthagen 4 years ago
committed by GitHub
parent
commit
5dc3ec4a65
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/en/docs/tutorial/handling-errors.md

2
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!}

Loading…
Cancel
Save