userver
C++ Async Framework
Loading...
Searching...
No Matches
formatted_error_data.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/server/handlers/formatted_error_data.hpp
4
/// @brief @copybrief server::handlers::FormattedErrorData
5
6
#
include
<
optional
>
7
#
include
<
string
>
8
9
#
include
<
userver
/
http
/
content_type
.
hpp
>
10
11
USERVER_NAMESPACE_BEGIN
12
13
namespace
server::
handlers
{
14
15
/// @brief External error response body and content type
16
struct
FormattedErrorData
{
17
std::string external_body;
18
std::optional<USERVER_NAMESPACE::http::
ContentType
> content_type{};
19
};
20
21
}
// namespace server::handlers
22
23
USERVER_NAMESPACE_END
userver
server
handlers
formatted_error_data.hpp
Generated on Thu May 21 2026 16:16:13 for userver by
Doxygen
1.13.2