mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-10 17:52:09 +00:00
feat: add TaskError exception for task error handling
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user