Add the query exception and refactor get_by_id.

This commit is contained in:
2025-01-26 15:35:41 +02:00
parent d652469748
commit 476a0ef8cf
5 changed files with 35 additions and 8 deletions
@@ -0,0 +1,6 @@
from . import AppException
class QueryException(AppException):
"""Query failed."""
pass