diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2013-06-24 14:02:36 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2013-07-07 18:06:17 +0100 |
commit | c4990d755add6c627ae9f780fd68b16bcca1da05 (patch) | |
tree | 18e42cdbb0d65207ec0b790e3099a7e877cbe3fb /alot/errors.py | |
parent | f2e51797f6398f51e248908b3006be2e978e1fea (diff) |
introduce CompletionErrors
and use them to handle AddressbookError exceptions
raised by addressbook.lookup
Diffstat (limited to 'alot/errors.py')
-rw-r--r-- | alot/errors.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/alot/errors.py b/alot/errors.py index 435a4bf9..9f4bd519 100644 --- a/alot/errors.py +++ b/alot/errors.py @@ -20,3 +20,7 @@ class GPGProblem(Exception): def __init__(self, message, code): self.code = code super(GPGProblem, self).__init__(message) + + +class CompletionError(Exception): + pass |