OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::CFException Class Reference

#include <error.hpp>

Inheritance diagram for openvpn::CFException:
[legend]
Collaboration diagram for openvpn::CFException:
[legend]

Public Member Functions

 CFException (const std::string &text)
 
 CFException (const std::string &text, const OSStatus status)
 
const char * what () const noexcept override
 
std::string what_str () const
 
virtual ~CFException () noexcept=default
 

Private Member Functions

void set_errtxt (const std::string &text, const OSStatus status)
 

Private Attributes

std::string errtxt
 

Detailed Description

Definition at line 26 of file error.hpp.

Constructor & Destructor Documentation

◆ CFException() [1/2]

openvpn::CFException::CFException ( const std::string &  text)
inlineexplicit

Definition at line 29 of file error.hpp.

◆ CFException() [2/2]

openvpn::CFException::CFException ( const std::string &  text,
const OSStatus  status 
)
inline

Definition at line 34 of file error.hpp.

◆ ~CFException()

virtual openvpn::CFException::~CFException ( )
virtualdefaultnoexcept

Member Function Documentation

◆ set_errtxt()

void openvpn::CFException::set_errtxt ( const std::string &  text,
const OSStatus  status 
)
inlineprivate

Definition at line 51 of file error.hpp.

Here is the caller graph for this function:

◆ what()

const char * openvpn::CFException::what ( ) const
inlineoverridenoexcept

Definition at line 39 of file error.hpp.

◆ what_str()

std::string openvpn::CFException::what_str ( ) const
inline

Definition at line 43 of file error.hpp.

Member Data Documentation

◆ errtxt

std::string openvpn::CFException::errtxt
private

Definition at line 58 of file error.hpp.


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