3#include <userver/server/middlewares/http_middleware_base.hpp>
9class ExceptionsHandlingMiddleware
final
12 static constexpr std::string_view kName{
13 "testsuite-exceptions-handling-middleware"};
15 explicit ExceptionsHandlingMiddleware(
19 void HandleRequest(server::http::HttpRequest& request,
20 server::
request::RequestContext& context)
const override;
23using ExceptionsHandlingMiddlewareFactory =
24 server::middlewares::SimpleHttpMiddlewareFactory<
25 ExceptionsHandlingMiddleware>;