summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-01-13 12:48:22 +0000
committerGitHub <noreply@github.com>2020-01-13 12:48:22 +0000
commit326c893d24e0f03b62bd9d1136a335f329bb8528 (patch)
tree793ea6152daa32a33f5ea953e5c564ffffed4f8c /synapse/api
parentDon't assign numeric IDs for empty usernames (#6690) (diff)
downloadsynapse-326c893d24e0f03b62bd9d1136a335f329bb8528.tar.xz
Kill off RegistrationError (#6691)
This is pretty pointless. Let's just use SynapseError.
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/errors.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index 5853a54c95..9e9844b47c 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -158,12 +158,6 @@ class UserDeactivatedError(SynapseError):
         )
 
 
-class RegistrationError(SynapseError):
-    """An error raised when a registration event fails."""
-
-    pass
-
-
 class FederationDeniedError(SynapseError):
     """An error raised when the server tries to federate with a server which
     is not on its federation whitelist.