forked from LmeSzinc/StarRailCopilot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexception.py
42 lines (26 loc) · 857 Bytes
/
exception.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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