Coverage for pass_import/errors.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.4.3, created at 2024-02-26 12:11 +0000

1# -*- encoding: utf-8 -*- 

2# pass import - Passwords importer swiss army knife 

3# Copyright (C) 2017-2024 Alexandre PUJOL <alexandre@pujol.io>. 

4# 

5 

6 

7class DecrypterError(Exception): 

8 """Password decrypter error.""" 

9 

10 

11class FormatError(Exception): 

12 """Password importer format (CSV, XML, JSON or TXT) not recognized.""" 

13 

14 

15class PMError(Exception): 

16 """Error in the execution of the password manager."""