Exceptions

These wacryptolib-specific exception classes should be used everywhere for functional errors, instead of standard Python exceptions (ValueError etc.)

exception wacryptolib.exceptions.FunctionalError

Bases: Exception

Base class for all 'normal' errors of the API

exception wacryptolib.exceptions.ExistenceError

Bases: FunctionalError

exception wacryptolib.exceptions.KeyDoesNotExist

Bases: ExistenceError

exception wacryptolib.exceptions.KeyAlreadyExists

Bases: ExistenceError

exception wacryptolib.exceptions.KeystoreDoesNotExist

Bases: ExistenceError

exception wacryptolib.exceptions.KeystoreAlreadyExists

Bases: ExistenceError

exception wacryptolib.exceptions.KeystoreMetadataDoesNotExist

Bases: KeystoreDoesNotExist

exception wacryptolib.exceptions.AuthenticationError

Bases: FunctionalError

exception wacryptolib.exceptions.AuthorizationError

Bases: FunctionalError

exception wacryptolib.exceptions.OperationNotSupported

Bases: FunctionalError

exception wacryptolib.exceptions.CryptographyError

Bases: FunctionalError

exception wacryptolib.exceptions.EncryptionError

Bases: CryptographyError

exception wacryptolib.exceptions.DecryptionError

Bases: CryptographyError

exception wacryptolib.exceptions.DecryptionIntegrityError

Bases: DecryptionError

exception wacryptolib.exceptions.SignatureCreationError

Bases: CryptographyError

exception wacryptolib.exceptions.SignatureVerificationError

Bases: CryptographyError

exception wacryptolib.exceptions.KeyLoadingError

Bases: CryptographyError

exception wacryptolib.exceptions.ValidationError

Bases: FunctionalError

exception wacryptolib.exceptions.SchemaValidationError

Bases: ValidationError