diff --git a/pyrage-stubs/pyrage/__init__.pyi b/pyrage-stubs/pyrage/__init__.pyi index 01ac3e0..4247717 100644 --- a/pyrage-stubs/pyrage/__init__.pyi +++ b/pyrage-stubs/pyrage/__init__.pyi @@ -24,6 +24,8 @@ __all__ = ( "decrypt_io", "RecipientError", "IdentityError", + "EncryptError", + "DecryptError", ) @@ -33,6 +35,12 @@ class RecipientError(Exception): class IdentityError(Exception): ... +class EncryptError(Exception): + ... + +class DecryptError(Exception): + ... + def encrypt(plaintext: bytes, recipients: Sequence[_Recipient]) -> bytes: ... def encrypt_file(infile: str, outfile: str, recipients: Sequence[_Recipient]) -> None: ...