mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-09-09 11:15:08 +08:00
Added readable exception if no posts were found for task
This commit is contained in:
committed by
Andreas Köpf
parent
c5053ed6c9
commit
4ead078f89
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user