diff options
author | David Baker <dave@matrix.org> | 2016-01-06 17:28:55 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-01-06 17:28:55 +0000 |
commit | 442fcc02f70fd0ae0034fc15c79b9e521c3d0143 (patch) | |
tree | 9d20a280a761ac50f227ebb8e4b8c74d354bb8df /synapse/api/errors.py | |
parent | Adding is_guest here won't work because it just constructs a dict of uid -> p... (diff) | |
parent | Merge pull request #469 from matrix-org/markjh/joined_guest_access (diff) | |
download | synapse-442fcc02f70fd0ae0034fc15c79b9e521c3d0143.tar.xz |
Merge remote-tracking branch 'origin/develop' into store_event_actions
Diffstat (limited to 'synapse/api/errors.py')
-rw-r--r-- | synapse/api/errors.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py index 8bc7b9e6db..d4037b3d55 100644 --- a/synapse/api/errors.py +++ b/synapse/api/errors.py @@ -120,22 +120,6 @@ class AuthError(SynapseError): super(AuthError, self).__init__(*args, **kwargs) -class GuestAccessError(AuthError): - """An error raised when a there is a problem with a guest user accessing - a room""" - - def __init__(self, rooms, *args, **kwargs): - self.rooms = rooms - super(GuestAccessError, self).__init__(*args, **kwargs) - - def error_dict(self): - return cs_error( - self.msg, - self.errcode, - rooms=self.rooms, - ) - - class EventSizeError(SynapseError): """An error raised when an event is too big.""" |