-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path__init__.py
More file actions
58 lines (54 loc) · 1.96 KB
/
__init__.py
File metadata and controls
58 lines (54 loc) · 1.96 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
"""Exception classes & functions provided for use across the whole of the project."""
from typing import TYPE_CHECKING
from .committee_actions import InvalidActionDescriptionError, InvalidActionTargetError
from .config_changes import ImproperlyConfiguredError, RestartRequiredDueToConfigChange
from .does_not_exist import (
ApplicantRoleDoesNotExistError,
ArchivistRoleDoesNotExistError,
ChannelDoesNotExistError,
CommitteeElectRoleDoesNotExistError,
CommitteeRoleDoesNotExistError,
GeneralChannelDoesNotExistError,
GuestRoleDoesNotExistError,
GuildDoesNotExistError,
MemberRoleDoesNotExistError,
RoleDoesNotExistError,
RolesChannelDoesNotExistError,
RulesChannelDoesNotExistError,
)
from .guild import DiscordMemberNotInMainGuildError, EveryoneRoleCouldNotBeRetrievedError
from .messages import (
InvalidMessagesJSONFileError,
MessagesJSONFileMissingKeyError,
MessagesJSONFileValueError,
)
from .msl import MSLMembershipError
from .strike import NoAuditLogsStrikeTrackingError, StrikeTrackingError
if TYPE_CHECKING:
from collections.abc import Sequence
__all__: "Sequence[str]" = (
"ApplicantRoleDoesNotExistError",
"ArchivistRoleDoesNotExistError",
"ChannelDoesNotExistError",
"CommitteeElectRoleDoesNotExistError",
"CommitteeRoleDoesNotExistError",
"DiscordMemberNotInMainGuildError",
"EveryoneRoleCouldNotBeRetrievedError",
"GeneralChannelDoesNotExistError",
"GuestRoleDoesNotExistError",
"GuildDoesNotExistError",
"ImproperlyConfiguredError",
"InvalidActionDescriptionError",
"InvalidActionTargetError",
"InvalidMessagesJSONFileError",
"MSLMembershipError",
"MemberRoleDoesNotExistError",
"MessagesJSONFileMissingKeyError",
"MessagesJSONFileValueError",
"NoAuditLogsStrikeTrackingError",
"RestartRequiredDueToConfigChange",
"RoleDoesNotExistError",
"RolesChannelDoesNotExistError",
"RulesChannelDoesNotExistError",
"StrikeTrackingError",
)