1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 22:37:00 +08:00
This commit is contained in:
SevCrane
2024-06-05 23:20:28 +08:00
commit 5e482958f6
7329 changed files with 240086 additions and 0 deletions

63
module/exception.py Normal file
View File

@@ -0,0 +1,63 @@
class CampaignEnd(Exception):
pass
class MapDetectionError(Exception):
pass
class MapWalkError(Exception):
pass
class MapEnemyMoved(Exception):
pass
class CampaignNameError(Exception):
pass
class ScriptError(Exception):
# This is likely to be a mistake of developers, but sometimes a random issue
pass
class ScriptEnd(Exception):
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 RequestHumanTakeover(Exception):
# Request human takeover
# Alas is unable to handle such error, probably because of wrong settings.
pass
class AutoSearchSetError(Exception):
pass