diff options
author | David Baker <dave@matrix.org> | 2015-04-23 13:23:44 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-04-23 13:23:44 +0100 |
commit | a2c10d37d7052a1ab6cf7188c3b4d763850e1561 (patch) | |
tree | 0ede78da1d5afe187e16f1edf97c14c566d2843f /synapse/api/errors.py | |
parent | Remove now-redundant email config (diff) | |
download | synapse-a2c10d37d7052a1ab6cf7188c3b4d763850e1561.tar.xz |
Add an error code to 'missing token' response.
Diffstat (limited to 'synapse/api/errors.py')
-rw-r--r-- | synapse/api/errors.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py index eddd889778..109547b3ce 100644 --- a/synapse/api/errors.py +++ b/synapse/api/errors.py @@ -31,6 +31,7 @@ class Codes(object): BAD_PAGINATION = "M_BAD_PAGINATION" UNKNOWN = "M_UNKNOWN" NOT_FOUND = "M_NOT_FOUND" + MISSING_TOKEN = "M_MISSING_TOKEN" UNKNOWN_TOKEN = "M_UNKNOWN_TOKEN" LIMIT_EXCEEDED = "M_LIMIT_EXCEEDED" CAPTCHA_NEEDED = "M_CAPTCHA_NEEDED" |