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

Class ErrorCode

openvpn/error/excode.hpp:76–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 };
75
76 class ErrorCode : public ExceptionCode
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
84 virtual ~ErrorCode() throw() {}
85
86 private:
87 std::string err_;
88 };
89
90}
91#endif

Callers 6

ClientOptionsMethod · 0.85
startMethod · 0.85
tun_startMethod · 0.85
establishMethod · 0.85
establishMethod · 0.85
up_sequencedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected