python: move the exception classes into error.py
[notmuch] / bindings / python / notmuch / message.py
index d17b9bc693c2a4ce6f8e87ef2a955219668cc459..9eb4feef4d1d9f61c0316edbb5e0b9e624318b00 100644 (file)
@@ -26,15 +26,17 @@ from .globals import (
     Enum,
     _str,
     Python3StringMixIn,
-    STATUS,
-    NotmuchError,
-    NullPointerError,
-    NotInitializedError,
     NotmuchTagsP,
     NotmuchMessageP,
     NotmuchMessagesP,
     NotmuchFilenamesP,
 )
+from .errors import (
+    STATUS,
+    NotmuchError,
+    NullPointerError,
+    NotInitializedError,
+)
 from .tag import Tags
 from .filenames import Filenames