Added readable exception if no posts were found for task

This commit is contained in:
Igor Miagkov
2022-12-29 17:16:44 +01:00
committed by Andreas Köpf
parent c5053ed6c9
commit 4ead078f89
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ class OasstErrorCode(IntEnum):
INVALID_TASK_TYPE = 2004
USER_NOT_SPECIFIED = 2005
NO_THREADS_FOUND = 2006
NO_REPLIES_FOUND = 2007
WORK_PACKAGE_NOT_FOUND = 2100
WORK_PACKAGE_EXPIRED = 2101
WORK_PACKAGE_PAYLOAD_TYPE_MISMATCH = 2102