Kill off RegistrationError (#6691)

This is pretty pointless. Let's just use SynapseError.
This commit is contained in:
Richard van der Hoff 2020-01-13 12:48:22 +00:00 committed by GitHub
parent 2d07c73777
commit 326c893d24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 17 deletions

View file

@ -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.