Coverage for hookee/exception.py: 100.00%

9 statements  

« prev     ^ index     » next       coverage.py v6.5.0, created at 2022-12-06 15:08 +0000

1__author__ = "Alex Laird" 

2__copyright__ = "Copyright 2020, Alex Laird" 

3__version__ = "1.2.0" 

4 

5 

6class HookeeError(Exception): 

7 """ 

8 Raised when a general ``hookee`` error has occurred. 

9 """ 

10 pass 

11 

12 

13class HookeeConfigError(HookeeError): 

14 """ 

15 Raised when there is an error initializing ``hookee` configuration. 

16 """ 

17 pass 

18 

19 

20class HookeePluginValidationError(HookeeError): 

21 """ 

22 Raised when a module fails to validate as a valid ``hookee`` plugin. 

23 """ 

24 pass