refactor(exceptions): define module exports

Added an __all__ variable to the exceptions module.
This commit is contained in:
jakob.scheid committed 2026-10-03 18:42:56 +02:00
1 parent bc802f7b38
commit 10328e6608
1 file changed
+15
+15
View File
@@ -15,6 +15,21 @@
import errno
__all__ = [
'NamespaceError',
'InvalidNamespaceError',
'NamespaceNotFoundError',
'NamespaceExistsError',
'PythonIdentifierError',
'InvalidPythonIdentifierError',
'PythonAnnotationError',
'InvalidPythonAnnotationError',
'PythonDefinitionError',
'PythonArgumentStructureError',
'DirectoryNotEmptyError',
]
class NamespaceError(ValueError):
"""
Base class for namespace errors.