#include <excode.hpp>
Definition at line 23 of file excode.hpp.
◆ anonymous enum
◆ ExceptionCode() [1/3]
openvpn::ExceptionCode::ExceptionCode |
( |
| ) |
|
|
inline |
◆ ExceptionCode() [2/3]
openvpn::ExceptionCode::ExceptionCode |
( |
const Error::Type |
code | ) |
|
|
inline |
◆ ExceptionCode() [3/3]
openvpn::ExceptionCode::ExceptionCode |
( |
const Error::Type |
code, |
|
|
const bool |
fatal |
|
) |
| |
|
inline |
◆ ~ExceptionCode()
virtual openvpn::ExceptionCode::~ExceptionCode |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ code()
◆ code_defined()
bool openvpn::ExceptionCode::code_defined |
( |
| ) |
const |
|
inline |
◆ fatal()
bool openvpn::ExceptionCode::fatal |
( |
| ) |
const |
|
inline |
◆ is_tls_alert()
bool openvpn::ExceptionCode::is_tls_alert |
( |
| ) |
const |
|
inline |
Some errors may justify letting the underlying SSL library send out TLS alerts.
Definition at line 69 of file excode.hpp.
◆ mkcode()
static unsigned int openvpn::ExceptionCode::mkcode |
( |
const Error::Type |
code, |
|
|
const bool |
fatal |
|
) |
| |
|
inlinestaticprivate |
◆ set_code() [1/2]
void openvpn::ExceptionCode::set_code |
( |
const Error::Type |
code | ) |
|
|
inline |
◆ set_code() [2/2]
void openvpn::ExceptionCode::set_code |
( |
const Error::Type |
code, |
|
|
const bool |
fatal |
|
) |
| |
|
inline |
◆ code_
unsigned int openvpn::ExceptionCode::code_ |
|
private |
The documentation for this class was generated from the following file: