mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
errors: Add M_WRONG_ROOM_KEYS_VERSION (#419)
This commit is contained in:
parent
50a49e01f3
commit
572a704b04
1 changed files with 2 additions and 0 deletions
2
error.go
2
error.go
|
|
@ -67,6 +67,8 @@ var (
|
|||
MIncompatibleRoomVersion = RespError{ErrCode: "M_INCOMPATIBLE_ROOM_VERSION"}
|
||||
// The client specified a parameter that has the wrong value.
|
||||
MInvalidParam = RespError{ErrCode: "M_INVALID_PARAM", StatusCode: http.StatusBadRequest}
|
||||
// The client specified a room key backup version that is not the current room key backup version for the user.
|
||||
MWrongRoomKeysVersion = RespError{ErrCode: "M_WRONG_ROOM_KEYS_VERSION", StatusCode: http.StatusForbidden}
|
||||
|
||||
MURLNotSet = RespError{ErrCode: "M_URL_NOT_SET"}
|
||||
MBadStatus = RespError{ErrCode: "M_BAD_STATUS"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue