generated from jCloud/repository-template
refactor(exceptions): define module exports
Added an __all__ variable to the exceptions module.
This commit is contained in:
1 file changed
+15
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user