All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Types | List of all members
ndn::EncryptError Class Reference

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.
 

Detailed Description

EncryptError holds the ErrorCode enum and OnError callback definition for errors from the encrypt library.


The documentation for this class was generated from the following file: