Browse Source

✏️ Fix typos in `/docs/reference/exceptions.md` and `/en/docs/reference/status.md` (#10809)

pull/10922/head
Clarence 1 year ago
committed by GitHub
parent
commit
ed3e79be77
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/en/docs/reference/exceptions.md
  2. 2
      docs/en/docs/reference/status.md

2
docs/en/docs/reference/exceptions.md

@ -3,7 +3,7 @@
These are the exceptions that you can raise to show errors to the client. 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 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. code to abort a request and show the error to the client.
You can use: You can use:

2
docs/en/docs/reference/status.md

@ -8,7 +8,7 @@ from fastapi import status
`status` is provided directly by Starlette. `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: For example:

Loading…
Cancel
Save