9#include <userver/server/handlers/exceptions.hpp>
10#include <userver/server/http/http_status.hpp>
12USERVER_NAMESPACE_BEGIN
14namespace server::http {
17
18
19
20
21
22
23
29HttpStatus
GetHttpStatus(
const handlers::CustomHandlerException& exception)
noexcept;
41 template <
typename... Args>
43 : handlers::CustomHandlerException(error_code, std::forward<Args>(args)...),
44 http_status_(http_status)
47 HttpStatus GetHttpStatus()
const {
return http_status_; }
50 HttpStatus http_status_;