NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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 NDN_THROW should not be used.

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

Constructor & Destructor Documentation

◆ Error()

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

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

Member Function Documentation

◆ what()

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

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

Referenced by main(), and nfd::NfdRunner::run().


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