nfd::PrivilegeHelper::Error Class Reference

represents a serious seteuid/gid failure More...

#include <core/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 43 of file privilege-helper.hpp.

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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