summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorKegsay <kegsay@gmail.com>2016-11-21 13:36:33 +0000
committerGitHub <noreply@github.com>2016-11-21 13:36:33 +0000
commita28ec23273ed5916cb044d0e16482bdd46a0ff5b (patch)
tree418fde37566364ff4d13a96d94462b88fbeb6bd3 /synapse/api
parentMerge pull request #1628 from matrix-org/erikj/ldap_split_out (diff)
parentFail with a coherent error message if `/sync?filter=` is invalid (diff)
downloadsynapse-a28ec23273ed5916cb044d0e16482bdd46a0ff5b.tar.xz
Merge pull request #1636 from matrix-org/kegan/filter-error-msg
Fail with a coherent error message if `/sync?filter=` is invalid
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/errors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index 0041646858..921c457738 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -39,6 +39,7 @@ class Codes(object):
     CAPTCHA_NEEDED = "M_CAPTCHA_NEEDED"
     CAPTCHA_INVALID = "M_CAPTCHA_INVALID"
     MISSING_PARAM = "M_MISSING_PARAM"
+    INVALID_PARAM = "M_INVALID_PARAM"
     TOO_LARGE = "M_TOO_LARGE"
     EXCLUSIVE = "M_EXCLUSIVE"
     THREEPID_AUTH_FAILED = "M_THREEPID_AUTH_FAILED"