summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorH. Shay <hillerys@element.io>2023-03-16 14:49:47 -0700
committerH. Shay <hillerys@element.io>2023-03-16 14:49:47 -0700
commitad325833e237e89f88978c855f52dfabb0805691 (patch)
treeabae8f9b8a21e13b72caeff799d8ded59140f208 /synapse/api
parentrequested changes (diff)
parentRemove no-op send_command for Redis replication. (#15274) (diff)
downloadsynapse-ad325833e237e89f88978c855f52dfabb0805691.tar.xz
Merge branch 'develop' into shay/rework_module
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/errors.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index e1737de59b..8c6822f3c6 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -108,6 +108,11 @@ class Codes(str, Enum):
 
     USER_AWAITING_APPROVAL = "ORG.MATRIX.MSC3866_USER_AWAITING_APPROVAL"
 
+    AS_PING_URL_NOT_SET = "FI.MAU.MSC2659_URL_NOT_SET"
+    AS_PING_BAD_STATUS = "FI.MAU.MSC2659_BAD_STATUS"
+    AS_PING_CONNECTION_TIMEOUT = "FI.MAU.MSC2659_CONNECTION_TIMEOUT"
+    AS_PING_CONNECTION_FAILED = "FI.MAU.MSC2659_CONNECTION_FAILED"
+
     # Attempt to send a second annotation with the same event type & annotation key
     # MSC2677
     DUPLICATE_ANNOTATION = "M_DUPLICATE_ANNOTATION"