diff options
Diffstat (limited to 'climl/interface.py')
-rw-r--r-- | climl/interface.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/climl/interface.py b/climl/interface.py new file mode 100644 index 0000000..5a7f6ba --- /dev/null +++ b/climl/interface.py @@ -0,0 +1,19 @@ +''' +This file defines symbols used to make communication between +hooks/plugins/extensions and core of climl. +''' + +class HookError(Exception): + ''' + Base class for hooks exception, they should not use this directly + ''' + + pass + +class HookAbortError(HookError): + ''' + This exception is used to indicate to core of climl it should not mark + email \Seen for now. + ''' + + pass |