Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | List of all members
seastar::httpd::base_exception Class Reference

Detailed Description

The base_exception is a base for all http exception. It contains a message that will be return as the message content and a status that will be return as a status code.

#include <seastar/http/exception.hh>

Inheritance diagram for seastar::httpd::base_exception:
seastar::httpd::bad_request_exception seastar::httpd::not_found_exception seastar::httpd::redirect_exception seastar::httpd::server_error_exception seastar::httpd::unexpected_status_error seastar::httpd::bad_chunk_exception seastar::httpd::bad_param_exception seastar::httpd::missing_param_exception

Public Member Functions

 base_exception (const std::string &msg, http::reply::status_type status)
 
virtual const char * what () const noexcept
 
http::reply::status_type status () const
 
virtual const std::string & str () const
 

The documentation for this class was generated from the following file: