mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:26:02 -04:00
Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backups
This commit is contained in:
commit
dc045ef202
210 changed files with 5643 additions and 3313 deletions
|
@ -240,10 +240,10 @@ class ResourceLimitError(SynapseError):
|
|||
def __init__(
|
||||
self, code, msg,
|
||||
errcode=Codes.RESOURCE_LIMIT_EXCEEDED,
|
||||
admin_uri=None,
|
||||
admin_contact=None,
|
||||
limit_type=None,
|
||||
):
|
||||
self.admin_uri = admin_uri
|
||||
self.admin_contact = admin_contact
|
||||
self.limit_type = limit_type
|
||||
super(ResourceLimitError, self).__init__(code, msg, errcode=errcode)
|
||||
|
||||
|
@ -251,7 +251,7 @@ class ResourceLimitError(SynapseError):
|
|||
return cs_error(
|
||||
self.msg,
|
||||
self.errcode,
|
||||
admin_uri=self.admin_uri,
|
||||
admin_contact=self.admin_contact,
|
||||
limit_type=self.limit_type
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue