File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
http/src/network/http/v2/client Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,12 @@ namespace network {
33
33
// connection
34
34
connection_timeout,
35
35
https_not_supported,
36
+
37
+ // response
38
+ invalid_version,
39
+ invalid_status,
40
+ invalid_status_message,
41
+ invalid_header,
36
42
};
37
43
38
44
/* *
@@ -109,6 +115,26 @@ namespace network {
109
115
110
116
};
111
117
118
+ /* *
119
+ * \ingroup http_client
120
+ * \class response_error network/http/v2/client/client_errors.hpp
121
+ */
122
+ class response_error : public std ::system_error {
123
+
124
+ public:
125
+
126
+ /* *
127
+ * \brief Constructor.
128
+ * \param The client_error code.
129
+ */
130
+ explicit response_error (client_error error);
131
+
132
+ /* *
133
+ * \brief Destructor.
134
+ */
135
+ virtual ~response_error () noexcept ;
136
+
137
+ };
112
138
} // namespace v2
113
139
} // namespace http
114
140
} // namespace network
You can’t perform that action at this time.
0 commit comments