diff options
Diffstat (limited to 'alot/db/errors.py')
-rw-r--r-- | alot/db/errors.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/alot/db/errors.py b/alot/db/errors.py index 55eb05ef..668ab34e 100644 --- a/alot/db/errors.py +++ b/alot/db/errors.py @@ -8,15 +8,18 @@ class DatabaseError(Exception): class DatabaseROError(DatabaseError): + """cannot write to read-only database""" pass class DatabaseLockedError(DatabaseError): + """cannot write to locked index""" pass class NonexistantObjectError(DatabaseError): + """requested thread or message does not exist in the index""" pass |