mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 09:52:30 -05:00
Privatize APIs by renaming or removing them from __all__ (#6021)
This commit is contained in:
@@ -7,6 +7,18 @@ from .i18n import Translator
|
||||
|
||||
_ = Translator(__name__, __file__)
|
||||
|
||||
__all__ = (
|
||||
"RedError",
|
||||
"PackageAlreadyLoaded",
|
||||
"CogLoadError",
|
||||
"BankError",
|
||||
"BalanceTooHigh",
|
||||
"BankPruneError",
|
||||
"ConfigError",
|
||||
"StoredTypeError",
|
||||
"CannotSetSubfield",
|
||||
)
|
||||
|
||||
|
||||
class RedError(Exception):
|
||||
"""Base error class for Red-related errors."""
|
||||
|
||||
Reference in New Issue
Block a user