2023-05-14 07:48:34 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|
2024-05-20 11:22:43 +00:00
|
|
|
class HandledError(Exception):
|
|
|
|
# Error handled before raising
|
|
|
|
# No extra handling required, just retry
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2023-05-14 07:48:34 +00:00
|
|
|
class EmulatorNotRunningError(Exception):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class GameNotRunningError(Exception):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class GamePageUnknownError(Exception):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2024-01-14 18:47:53 +00:00
|
|
|
class TaskError(Exception):
|
|
|
|
# An error occurred in task,
|
|
|
|
# task itself should have error handled before raising TaskError,
|
|
|
|
# then task will be re-scheduled
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2023-05-14 07:48:34 +00:00
|
|
|
class RequestHumanTakeover(Exception):
|
|
|
|
# Request human takeover
|
|
|
|
# Alas is unable to handle such error, probably because of wrong settings.
|
|
|
|
pass
|