#include <userver/server/handlers/legacy_json_error_builder.hpp>
Legacy JSON error message builder that returns "code" as an integer. Consider using JsonErrorBuilder instead
Definition at line 18 of file legacy_json_error_builder.hpp.
Public Member Functions | |
| LegacyJsonErrorBuilder (const CustomHandlerException &ex) | |
| LegacyJsonErrorBuilder (http::HttpStatus status, std::string internal_message, std::string external_error_body) | |
| LegacyJsonErrorBuilder (http::HttpStatus status, std::string internal_message, std::string external_error_body, const formats::json::Value &details) | |
| const std::string & | GetInternalMessage () const |
| const std::string & | GetExternalBody () const |
Static Public Member Functions | |
| static const ::http::ContentType & | GetContentType () |
Static Public Attributes | |
| static constexpr bool | kIsExternalBodyFormatted = true |
|
inlinestatic |
Definition at line 37 of file legacy_json_error_builder.hpp.
|
inline |
Definition at line 35 of file legacy_json_error_builder.hpp.
|
inline |
Definition at line 33 of file legacy_json_error_builder.hpp.
|
staticconstexpr |
Definition at line 20 of file legacy_json_error_builder.hpp.