aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-12 13:46:57 +0200
committerStefan Boberg <[email protected]>2021-09-12 13:46:57 +0200
commitfa1f144a4eb7d201ef84b8d369d40f26fc73dff6 (patch)
tree39869d2f690bd91734ea6eed76e777caf3aa01a4 /zenhttp/include
parentclang-format fixes (diff)
downloadzen-fa1f144a4eb7d201ef84b8d369d40f26fc73dff6.tar.xz
zen-fa1f144a4eb7d201ef84b8d369d40f26fc73dff6.zip
Eliminated HttpServerException and related classes
Diffstat (limited to 'zenhttp/include')
-rw-r--r--zenhttp/include/zenhttp/httpserver.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/zenhttp/include/zenhttp/httpserver.h b/zenhttp/include/zenhttp/httpserver.h
index b73646dad..b8b63ac4d 100644
--- a/zenhttp/include/zenhttp/httpserver.h
+++ b/zenhttp/include/zenhttp/httpserver.h
@@ -259,17 +259,6 @@ protected:
ExtendableStringBuilder<256> m_QueryStringUtf8;
};
-class HttpServerException : public std::system_error
-{
-public:
- HttpServerException(std::string_view Message, std::error_code Error) : std::system_error(Error), m_What(Message) {}
-
- virtual const char* what() const override;
-
-protected:
- std::string m_What;
-};
-
/**
* Base class for implementing an HTTP "service"
*