userver: userver/server/http/http_error.hpp File Reference
Loading...
Searching...
No Matches
http_error.hpp File Reference

Detailed Description

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>
+ This graph shows which files directly or indirectly include this file:

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