mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-25 18:05:26 +00:00
43 lines
857 B
Python
43 lines
857 B
Python
class ScriptError(Exception):
|
|
# This is likely to be a mistake of developers, but sometimes a random issue
|
|
pass
|
|
|
|
|
|
class GameStuckError(Exception):
|
|
pass
|
|
|
|
|
|
class GameBugError(Exception):
|
|
# An error has occurred in Azur Lane game client. Alas is unable to handle.
|
|
# A restart should fix it.
|
|
pass
|
|
|
|
|
|
class GameTooManyClickError(Exception):
|
|
pass
|
|
|
|
|
|
class EmulatorNotRunningError(Exception):
|
|
pass
|
|
|
|
|
|
class GameNotRunningError(Exception):
|
|
pass
|
|
|
|
|
|
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.
|
|
pass
|