''' This file defines symbols used to make communication between hooks/plugins/extensions and core of climl. ''' class Error(Exception): ''' Base class for exceptions in this package ''' class HookError(Error): ''' 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 processed for now. ''' pass class HookStopIteration(HookError, StopIteration): ''' Run this if your hook declares it does not want other hooks to process email. The email will be marked processed. ''' pass