EncryptError holds the ErrorCode enum and OnError callback definition for errors from the encrypt library. More...
#include <encrypt-error.hpp>
Public Types | |
| enum | ErrorCode { Timeout = 1, Validation = 2, UnsupportedEncryptionScheme = 32, InvalidEncryptedFormat = 33, NoDecryptKey = 34, EncryptionFailure = 35, DataRetrievalFailure = 36, General = 100 } |
|
typedef func_lib::function < void(ErrorCode errorCode, const std::string &message)> | OnError |
| A method calls onError(errorCode, message) for an error. | |
EncryptError holds the ErrorCode enum and OnError callback definition for errors from the encrypt library.
1.8.6