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,
48 typedef func_lib::function<void
49 (ErrorCode errorCode,
const std::string& message)>
OnError;
Copyright (C) 2013-2016 Regents of the University of California.
Definition: common.hpp:36
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:49