replace ErrorKind::Forbidden with forbidden() non-exhaustive constructor

https://github.com/ruma/ruma/commit/917584e0cae4ae8642625f234f22f049bc159fee

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry
2024-04-03 15:59:03 -04:00
committed by June
parent 13cd9c4c38
commit ddcf43f1b8
21 changed files with 75 additions and 73 deletions
+3 -1
View File
@@ -116,7 +116,9 @@ impl Error {
WrongRoomKeysVersion {
..
}
| Forbidden
| Forbidden {
..
}
| GuestAccessForbidden
| ThreepidAuthFailed
| UserDeactivated