nfd::PrivilegeHelper::Error Class Reference

represents a serious seteuid/gid failure More...

#include <daemon/common/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.