Browse Source
💬 Rephrase handling-errors to remove gender while keeping readability (#780)
pull/781/head
Sebastián Ramírez
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
docs/tutorial/handling-errors.md
|
|
@ -4,9 +4,9 @@ This client could be a browser with a frontend, the code from someone else, an I |
|
|
|
|
|
|
|
You could need to tell that client that: |
|
|
|
|
|
|
|
* He doesn't have enough privileges for that operation. |
|
|
|
* He doesn't have access to that resource. |
|
|
|
* The item he was trying to access doesn't exist. |
|
|
|
* The client doesn't have enough privileges for that operation. |
|
|
|
* The client doesn't have access to that resource. |
|
|
|
* The item the client was trying to access doesn't exist. |
|
|
|
* etc. |
|
|
|
|
|
|
|
In these cases, you would normally return an **HTTP status code** in the range of **400** (from 400 to 499). |
|
|
|