Ditto 5.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ditto::EncryptionError Class Reference

Base class for errors raised when a store cannot be opened because of an encryption problem. More...

Inheritance diagram for ditto::EncryptionError:
ditto::DittoError ditto::EncryptionKeyInvalidError ditto::EncryptionKeyRequiredError ditto::EncryptionKeyUnexpectedError ditto::EncryptionMetadataCorruptError ditto::EncryptionUnsupportedSchemeError

Public Member Functions

 DittoError ()
 
 DittoError (dittoffi_error_t *ffi_error)
 
 DittoError (std::string msg)
 
- Public Member Functions inherited from ditto::DittoError
 DittoError (dittoffi_error_t *ffi_error)
 
 DittoError (std::string msg)
 
char const * what () const noexcept override
 Returns the explanatory string. More...
 

Detailed Description

Base class for errors raised when a store cannot be opened because of an encryption problem.

Catch this type to handle any encryption-related failure when opening a store, or catch one of its subclasses below to distinguish a specific cause.