mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-12 19:42:19 +00:00
feat: add TaskError exception for task error handling
This commit is contained in:
@@ -29,6 +29,12 @@ class GamePageUnknownError(Exception):
|
|||||||
pass
|
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):
|
class RequestHumanTakeover(Exception):
|
||||||
# Request human takeover
|
# Request human takeover
|
||||||
# Alas is unable to handle such error, probably because of wrong settings.
|
# Alas is unable to handle such error, probably because of wrong settings.
|
||||||
|
|||||||
Reference in New Issue
Block a user