]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/python/notmuch/globals.py
python: Catch up with find_message(by_filename) API changes
[notmuch] / bindings / python / notmuch / globals.py
index 51d2b654e736aa07860776d7fed17b9d9d113cee..a42f2a40d68f4217d9f29691d44eb9b8ac8ef97b 100644 (file)
@@ -163,6 +163,10 @@ class UnbalancedFreezeThawError(NotmuchError):
 class UnbalancedAtomicError(NotmuchError):
     pass
 class NotInitializedError(NotmuchError):
+    """Derived from NotmuchError, this occurs if the underlying data
+    structure (e.g. database is not initialized (yet) or an iterator has
+    been exhausted. You can test for NotmuchError with .status =
+    STATUS.NOT_INITIALIZED"""
     pass