mirror of
https://github.com/fastapi/fastapi.git
synced 2026-04-13 03:20:37 -04:00
✏️ Fix typos in /docs/reference/exceptions.md and /en/docs/reference/status.md (#10809)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
These are the exceptions that you can raise to show errors to the client.
|
||||
|
||||
When you raise an exception, as would happen with normal Python, the rest of the
|
||||
excecution is aborted. This way you can raise these exceptions from anywhere in the
|
||||
execution is aborted. This way you can raise these exceptions from anywhere in the
|
||||
code to abort a request and show the error to the client.
|
||||
|
||||
You can use:
|
||||
|
||||
@@ -8,7 +8,7 @@ from fastapi import status
|
||||
|
||||
`status` is provided directly by Starlette.
|
||||
|
||||
It containes a group of named constants (variables) with integer status codes.
|
||||
It contains a group of named constants (variables) with integer status codes.
|
||||
|
||||
For example:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user