We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f9f50e commit d653b4bCopy full SHA for d653b4b
http/src/network/http/v2/client/client_errors.hpp
@@ -15,6 +15,9 @@ namespace network {
15
enum class client_error {
16
// scheme
17
invalid_scheme,
18
+
19
+ // connection
20
+ connnection_timeout
21
};
22
23
class client_category_impl : public std::error_category {
@@ -44,6 +47,16 @@ namespace network {
44
47
virtual ~invalid_scheme() noexcept;
45
48
46
49
50
51
+ class connection_timeout : public std::system_error {
52
53
+ public:
54
55
+ connection_timeout() = default;
56
57
+ virtual ~connection_timeout() noexcept;
58
59
+ };
60
} // namespace v2
61
} // namespace http
62
} // namespace network
0 commit comments