12#ifndef OPENVPN_HTTP_EXCEPT_H
13#define OPENVPN_HTTP_EXCEPT_H
21#define OPENVPN_THROW_WEB(exc, status, stuff) \
24 std::ostringstream _ovpn_exc; \
26 throw exc(status, _ovpn_exc.str()); \
51 const std::string &
error()
const
56 const char *
what() const noexcept
override
const char * what() const noexcept override
const std::string formatted
WebException(const int status, const std::string &error)
const std::string & error() const
WebException(const int status)