Coverage for src/sopsy/errors.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2024-11-24 08:38 +0000

1"""SOPSy Exceptions.""" 

2 

3 

4class SopsyError(Exception): 

5 """Sopsy base exception class.""" 

6 

7 

8class SopsyUnparsableOutpoutTypeError(SopsyError): 

9 """Sopsy could not read SOPS output content.""" 

10 

11 

12class SopsyCommandNotFoundError(SopsyError): 

13 """Sopsy could not find SOPS command in PATH.""" 

14 

15 

16class SopsyCommandFailedError(SopsyError): 

17 """Sopsy could not execute SOPS command successfully.""" 

18 

19 

20class SopsyConfigNotFoundError(SopsyError): 

21 """Sopsy could not find the given configuration file."""