|
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 |
Public Member Functions inherited from openvpn::ExceptionCode | |
| ExceptionCode ()=default | |
| 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 74 of file excode.hpp.
|
inline |
Definition at line 77 of file excode.hpp.
|
virtualdefaultnoexcept |
|
inlineoverridenoexcept |
Definition at line 82 of file excode.hpp.
|
private |
Definition at line 90 of file excode.hpp.