X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fglobals.py;h=a42f2a40d68f4217d9f29691d44eb9b8ac8ef97b;hb=5e75398c80ab3008ca0ecd60544897dc5e546e47;hp=51d2b654e736aa07860776d7fed17b9d9d113cee;hpb=70479753a6f0ea115db58f059a2a89cddd9187bb;p=notmuch diff --git a/bindings/python/notmuch/globals.py b/bindings/python/notmuch/globals.py index 51d2b654..a42f2a40 100644 --- a/bindings/python/notmuch/globals.py +++ b/bindings/python/notmuch/globals.py @@ -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