summary refs log tree commit diff
path: root/synapse/api/errors.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-12-11 17:46:23 +0000
committerErik Johnston <erik@matrix.org>2014-12-11 17:46:23 +0000
commit85574cfbf06ffab46b511ec684b40fb8239b7807 (patch)
tree6596757f5eabfd708df0fc42de2320bb27517de0 /synapse/api/errors.py
parentImplement .cancel_call_later() in MockClock (diff)
parentAllow only one download for a given image at a time, so that we don't end up ... (diff)
downloadsynapse-85574cfbf06ffab46b511ec684b40fb8239b7807.tar.xz
Merge pull request #23 from matrix-org/media_repository
Media repository
Diffstat (limited to 'synapse/api/errors.py')
-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 581439ceb3..e250b9b211 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -34,6 +34,7 @@ class Codes(object):
     LIMIT_EXCEEDED = "M_LIMIT_EXCEEDED"
     CAPTCHA_NEEDED = "M_CAPTCHA_NEEDED"
     CAPTCHA_INVALID = "M_CAPTCHA_INVALID"
+    TOO_LARGE = "M_TOO_LARGE"
 
 
 class CodeMessageException(Exception):