userver
C++ Async Framework
Loading...
Searching...
No Matches
error_kind.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/clients/http/error_kind.hpp
4
/// @brief @copybrief clients::http::ErrorKind
5
6
USERVER_NAMESPACE_BEGIN
7
8
namespace
clients::http {
9
10
/// Additional tag to the exception.
11
enum
class
ErrorKind
{
12
kNetwork,
// error during transportation
13
kDeadlinePropagation,
// our own deadline exceeded
14
kTimeout,
// timeout reached
15
kCancel,
// task or request cancelled
16
kClient,
// request was called with a bad parameter
17
kServer,
// error on server side
18
};
19
20
}
// namespace clients::http
21
22
USERVER_NAMESPACE_END
userver
clients
http
error_kind.hpp
Generated on Wed Dec 4 2024 18:42:03 for userver by
Doxygen
1.10.0