mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:04:50 -04:00
Add specific error code for invalid user names.
This commit is contained in:
parent
a50013fd99
commit
3f8db3d597
2 changed files with 3 additions and 1 deletions
|
@ -42,6 +42,7 @@ class Codes(object):
|
|||
EXCLUSIVE = "M_EXCLUSIVE"
|
||||
THREEPID_AUTH_FAILED = "M_THREEPID_AUTH_FAILED"
|
||||
THREEPID_IN_USE = "THREEPID_IN_USE"
|
||||
INVALID_USER_NAME = "M_INVALID_USER_NAME"
|
||||
|
||||
|
||||
class CodeMessageException(RuntimeError):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue