MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3 / ErrorCode

Method ErrorCode

openvpn/error/excode.hpp:79–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 {
78 public:
79 ErrorCode(const Error::Type code, const bool fatal, const std::string& err)
80 : ExceptionCode(code, fatal) , err_(err) {}
81
82 virtual const char* what() const throw() { return err_.c_str(); }
83

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected