NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::PrivilegeHelper::Error Class Reference

represents a serious seteuid/gid failure More...

#include <privilege-helper.hpp>

Public Member Functions

 Error (const std::string &what)
 
const char * what () const
 

Detailed Description

represents a serious seteuid/gid failure

This should only be caught by main as part of a graceful program termination.

Note
This is not an std::exception and BOOST_THROW_EXCEPTION should not be used.

Definition at line 44 of file privilege-helper.hpp.

Constructor & Destructor Documentation

§ Error()

nfd::PrivilegeHelper::Error::Error ( const std::string &  what)
inlineexplicit

Definition at line 48 of file privilege-helper.hpp.

Member Function Documentation

§ what()

const char* nfd::PrivilegeHelper::Error::what ( ) const
inline

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