From 310861dacc0905f792babfbf074bf6762fb46335 Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Sat, 3 Oct 2026 18:42:56 +0200 Subject: [PATCH] refactor(exceptions): define public module exports Added an __all__ variable to the exceptions module. --- src/jcloud_docsgen/exceptions.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/jcloud_docsgen/exceptions.py b/src/jcloud_docsgen/exceptions.py index fa506e8..2cefa19 100644 --- a/src/jcloud_docsgen/exceptions.py +++ b/src/jcloud_docsgen/exceptions.py @@ -14,6 +14,20 @@ import errno +__all__ = [ + 'NamespaceError', + 'InvalidNamespaceError', + 'NamespaceNotFoundError', + 'NamespaceExistsError', + 'PythonIdentifierError', + 'InvalidPythonIdentifierError', + 'PythonAnnotationError', + 'InvalidPythonAnnotationError', + 'PythonDefinitionError', + 'PythonArgumentStructureError', + 'DirectoryNotEmptyError', +] + class NamespaceError(ValueError): """