Get http status code mapped to generic handler error code.
Definition in file http_error.hpp.
Go to the source code of this file.
#include <stdexcept>
#include <string>
#include <userver/server/handlers/exceptions.hpp>
#include <userver/server/http/http_status.hpp>
Classes | |
class | server::http::CustomHandlerException |
An extension of server::handlers::CustomHandlerException that allows to specify a custom HttpStatus. More... | |
Namespaces | |
namespace | server::http |
Server parts of the HTTP protocol implementation. | |
Functions | |
HttpStatus | server::http::GetHttpStatus (handlers::HandlerErrorCode) noexcept |
Get http status code mapped to generic handler error code. | |
HttpStatus | server::http::GetHttpStatus (const handlers::CustomHandlerException &exception) noexcept |