OpenVPN 3 Core Library
Loading...
Searching...
No Matches
webexcept.hpp File Reference
#include <string>
#include <sstream>
#include <exception>
#include <openvpn/http/status.hpp>
Include dependency graph for webexcept.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openvpn::HTTP::WebException
 

Namespaces

namespace  openvpn
 
namespace  openvpn::HTTP
 

Macros

#define OPENVPN_THROW_WEB(exc, status, stuff)
 

Macro Definition Documentation

◆ OPENVPN_THROW_WEB

#define OPENVPN_THROW_WEB (   exc,
  status,
  stuff 
)
Value:
do \
{ \
std::ostringstream _ovpn_exc; \
_ovpn_exc << stuff; \
throw exc(status, _ovpn_exc.str()); \
} while (0)

Definition at line 21 of file webexcept.hpp.