diff options
| author | Stefan Boberg <[email protected]> | 2021-09-12 13:42:23 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-12 13:42:23 +0200 |
| commit | 835a7d00a9da37b07cdf450899ac7fd0125b3320 (patch) | |
| tree | 8281fb3c085d4a8982b0455bcb28a0d6d0ee27d2 /zenhttp/httpsys.h | |
| parent | Added some std::error_code helpers (diff) | |
| download | zen-835a7d00a9da37b07cdf450899ac7fd0125b3320.tar.xz zen-835a7d00a9da37b07cdf450899ac7fd0125b3320.zip | |
Some error handling improvements in zenhttp
Primarily replaces some exception usage with std::error_code
Diffstat (limited to 'zenhttp/httpsys.h')
| -rw-r--r-- | zenhttp/httpsys.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zenhttp/httpsys.h b/zenhttp/httpsys.h index 6616817ec..62a3699cb 100644 --- a/zenhttp/httpsys.h +++ b/zenhttp/httpsys.h @@ -71,5 +71,12 @@ private: Event m_ShutdownEvent; }; +class HttpSysException : public HttpServerException +{ +public: + HttpSysException(const char* Message, uint32_t Error); + ~HttpSysException(); +}; + } // namespace zen #endif |