userver: userver/server/handlers/formatted_error_data.hpp Source File
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
11USERVER_NAMESPACE_BEGIN
12
13namespace server::handlers {
14
15/// @brief External error response body and content type
17 std::string external_body;
18 std::optional<USERVER_NAMESPACE::http::ContentType> content_type{};
19};
20
21} // namespace server::handlers
22
23USERVER_NAMESPACE_END