mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
Add alias support to REQ helpers for subject/topic.
The alias support is generic here, and we use it for migrating subject -> topic in REQ_topic().
This commit is contained in:
@@ -39,6 +39,7 @@ class ErrorCode(AbstractEnum):
|
||||
CSRF_FAILED = ()
|
||||
INVITATION_FAILED = ()
|
||||
INVALID_ZULIP_SERVER = ()
|
||||
REQUEST_CONFUSING_VAR = ()
|
||||
|
||||
class JsonableError(Exception):
|
||||
'''A standardized error format we can turn into a nice JSON HTTP response.
|
||||
|
||||
Reference in New Issue
Block a user