userver: userver/server/handlers/formatted_error_data.hpp Source File
Loading...
Searching...
No Matches
formatted_error_data.hpp
1#pragma once
2
3#include <optional>
4#include <string>
5
6#include <userver/http/content_type.hpp>
7
8USERVER_NAMESPACE_BEGIN
9
10namespace server::handlers {
11
12struct FormattedErrorData {
13 std::string external_body;
14 std::optional<USERVER_NAMESPACE::http::ContentType> content_type{};
15};
16
17} // namespace server::handlers
18
19USERVER_NAMESPACE_END