nfd::PrivilegeHelper::Error Class Reference

Indicates a serious seteuid/setegid failure. More...

#include <daemon/common/privilege-helper.hpp>

Public Member Functions

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

Detailed Description

Indicates a serious seteuid/setegid 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 45 of file privilege-helper.hpp.

Constructor & Destructor Documentation

◆ Error()

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

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

Member Function Documentation

◆ what()

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

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