Add Errors reference (#430)

* Adds PostgREST' error codes 

* Move error information to a dedicated reference page

* Organize errors into tables
This commit is contained in:
Laurence Isla
2022-03-14 21:03:01 +01:00
committed by GitHub
parent 1489fc84b8
commit 8f98948078
9 changed files with 356 additions and 77 deletions
+6 -1
View File
@@ -175,7 +175,12 @@ After expiration, the API returns HTTP 401 Unauthorized:
.. code-block:: json
{"message":"JWT expired"}
{
"hint": null,
"details": null,
"code": "PGRST301",
"message": "JWT expired"
}
Bonus Topic: Immediate Revocation
---------------------------------