From 835a7d00a9da37b07cdf450899ac7fd0125b3320 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Sun, 12 Sep 2021 13:42:23 +0200 Subject: Some error handling improvements in zenhttp Primarily replaces some exception usage with std::error_code --- zenhttp/httpsys.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'zenhttp/httpsys.h') 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 -- cgit v1.2.3