feat: add TaskError exception for task error handling

This commit is contained in:
2026-07-05 18:21:29 +08:00
parent be44b23d70
commit 52964c2ff0
+6
View File
@@ -29,6 +29,12 @@ class GamePageUnknownError(Exception):
pass
class TaskError(Exception):
# An error occurred in task,
# task itself should have error handled before raising TaskError,
# then task will be re-scheduled
pass
class RequestHumanTakeover(Exception):
# Request human takeover
# Alas is unable to handle such error, probably because of wrong settings.