OpenVPN 3 Core Library
|
#include <excode.hpp>
Public Member Functions | |
ErrorCode (const Error::Type code, const bool fatal, const std::string &err) | |
const char * | what () const noexcept override |
virtual | ~ErrorCode () noexcept=default |
![]() | |
ExceptionCode () | |
ExceptionCode (const Error::Type code) | |
ExceptionCode (const Error::Type code, const bool fatal) | |
void | set_code (const Error::Type code) |
void | set_code (const Error::Type code, const bool fatal) |
Error::Type | code () const |
bool | fatal () const |
bool | code_defined () const |
bool | is_tls_alert () const |
Some errors may justify letting the underlying SSL library send out TLS alerts. | |
virtual | ~ExceptionCode () noexcept=default |
Private Attributes | |
std::string | err_ |
Definition at line 88 of file excode.hpp.
|
inline |
Definition at line 91 of file excode.hpp.
|
virtualdefaultnoexcept |
|
inlineoverridenoexcept |
Definition at line 96 of file excode.hpp.
|
private |
Definition at line 104 of file excode.hpp.