summary refs log tree commit diff
path: root/synapse/api/errors.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-10-20 18:09:59 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-10-20 18:09:59 +0100
commit47d53b32e39d00b2e1e5db8928fa6a761f80e604 (patch)
tree41aeaaa2db2fb8031943c8f178e3b933d9686047 /synapse/api/errors.py
parentMerge commit '9f8abdcc3' into anoa/dinsic_release_1_21_x (diff)
parentCatch up after Federation Outage (split, 2): Track last successful stream ord... (diff)
downloadsynapse-47d53b32e39d00b2e1e5db8928fa6a761f80e604.tar.xz
Merge commit '17fa4c7ca' into anoa/dinsic_release_1_21_x
* commit '17fa4c7ca':
  Catch up after Federation Outage (split, 2): Track last successful stream ordering after transmission (#8247)
  Catch-up after Federation Outage (split, 1) (#8230)
  Fix type signature in simple_select_one_onecol and friends (#8241)
  Stop sub-classing object (#8249)
Diffstat (limited to 'synapse/api/errors.py')
-rw-r--r--synapse/api/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py

index 67009fff39..083f664e3e 100644 --- a/synapse/api/errors.py +++ b/synapse/api/errors.py
@@ -32,7 +32,7 @@ if typing.TYPE_CHECKING: logger = logging.getLogger(__name__) -class Codes(object): +class Codes: UNRECOGNIZED = "M_UNRECOGNIZED" UNAUTHORIZED = "M_UNAUTHORIZED" FORBIDDEN = "M_FORBIDDEN"