elaborate error macro and apply at various callsites

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2024-07-14 11:31:39 +00:00
1 parent b3f2288d07
commit 05efd9b044
23 files changed
+161 -140

No files matched your search

+1 -1
View File
@@ -171,7 +171,7 @@ impl Service {
.rooms
.alias
.resolve_local_alias(room_alias)?
.ok_or_else(|| err!(BadConfig("Room does not exist.")))?,
.ok_or_else(|| err!(Request(NotFound("Room does not exist."))))?,
));
}
}