Seastar
High performance C++ framework for concurrent servers
|
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>
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 |