summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-04-23 18:20:17 +0100
committerDavid Baker <dave@matrix.org>2015-04-23 18:20:17 +0100
commit03eb4adc6ead31b69af6a87b8d05ae7e0e965fd0 (patch)
treefb526c5b36c5c30ba70410123411461fbfa273f5 /synapse/api
parentRemove ultimately unused feature of saving params from the first call in the ... (diff)
downloadsynapse-03eb4adc6ead31b69af6a87b8d05ae7e0e965fd0.tar.xz
Dedicated error code for failed 3pid auth verification
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 109547b3ce..e8b9ee533d 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -39,6 +39,7 @@ class Codes(object):
     MISSING_PARAM = "M_MISSING_PARAM",
     TOO_LARGE = "M_TOO_LARGE",
     EXCLUSIVE = "M_EXCLUSIVE"
+    THREEPID_AUTH_FAILED = "M_THREEPID_AUTH_FAILED"
 
 
 class CodeMessageException(RuntimeError):