aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6d952cb..3a6f81e 100644
--- a/README.md
+++ b/README.md
@@ -229,6 +229,11 @@ Parameters:
* `.code` (int, HTTP status codes, always present): The machine-readable error code (e. g. 400 for Bad Request).
* `.message` (string, any, always present): The human-readable error message.
+Global error codes:
+
+* 400: The request is invalid.
+* 500: The server encountered an unknown error.
+
**`.type` and `.id` are included in every request / response, except for further noticed. Thus,
this document excludes them from the parameter lists.**