mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:04:50 -04:00
Added M_UNKNOWN_TOKEN error code and send it when there is an unrecognised access_token
This commit is contained in:
parent
d5033849a5
commit
61933f8e52
3 changed files with 8 additions and 3 deletions
|
@ -27,6 +27,7 @@ class Codes(object):
|
|||
BAD_PAGINATION = "M_BAD_PAGINATION"
|
||||
UNKNOWN = "M_UNKNOWN"
|
||||
NOT_FOUND = "M_NOT_FOUND"
|
||||
UNKNOWN_TOKEN = "M_UNKNOWN_TOKEN"
|
||||
|
||||
|
||||
class CodeMessageException(Exception):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue