22 #ifndef NDN_ENCRYPT_ERROR_HPP
23 #define NDN_ENCRYPT_ERROR_HPP
25 #include "../common.hpp"
38 UnsupportedEncryptionScheme = 32,
39 InvalidEncryptedFormat = 33,
41 EncryptionFailure = 35,
42 DataRetrievalFailure = 36,
49 typedef func_lib::function<void
50 (ErrorCode errorCode,
const std::string& message)>
OnError;
EncryptError holds the ErrorCode enum and OnError callback definition for errors from the encrypt lib...
Definition: encrypt-error.hpp:33
func_lib::function< void(ErrorCode errorCode, const std::string &message)> OnError
A method calls onError(errorCode, message) for an error.
Definition: encrypt-error.hpp:50