Nikita Kolesov
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
4 deletions
-
docs/help-fastapi.md
-
docs/tutorial/handling-errors.md
|
@ -1,4 +1,4 @@ |
|
|
Are you liking **FastAPI**? |
|
|
Do you like **FastAPI**? |
|
|
|
|
|
|
|
|
Would you like to help FastAPI, other users, and the author? |
|
|
Would you like to help FastAPI, other users, and the author? |
|
|
|
|
|
|
|
|
|
@ -1,8 +1,8 @@ |
|
|
There are many situations in where you need to notify an error to the client that is using your API. |
|
|
There are many situations in where you need to notify an error to a client that is using your API. |
|
|
|
|
|
|
|
|
This client could be a browser with a frontend, the code from someone else, an IoT device, etc. |
|
|
This client could be a browser with a frontend, a code from someone else, an IoT device, etc. |
|
|
|
|
|
|
|
|
You could need to tell that client that: |
|
|
You could need to tell the client that: |
|
|
|
|
|
|
|
|
* The client doesn't have enough privileges for that operation. |
|
|
* The client doesn't have enough privileges for that operation. |
|
|
* The client doesn't have access to that resource. |
|
|
* The client doesn't have access to that resource. |
|
|