Toolbox snapshot
The Reactive C++ Toolbox
|
#include <toolbox/http/Exception.hpp>
Public Member Functions | |
Exception (Status status) | |
Exception (Status status, std::string_view what) | |
~Exception () override | |
Public Member Functions inherited from toolbox::util::Exception | |
Exception (std::error_code ec=std::error_code()) | |
Exception (int err, const std::error_category &ecat) | |
Exception (std::error_code ec, std::string_view what) | |
Exception (int err, const std::error_category &ecat, std::string_view what) | |
~Exception () override | |
Exception (const Exception &)=default | |
Exception & | operator= (const Exception &)=default |
Exception (Exception &&) noexcept=default | |
Exception & | operator= (Exception &&) noexcept=default |
void | to_json (std::ostream &os) const |
const std::error_code & | code () const noexcept |
Returns the error code. | |
Additional Inherited Members | |
Static Public Member Functions inherited from toolbox::util::Exception | |
static void | to_json (std::ostream &os, int code, const char *message) |
static void | to_json (std::ostream &os, const std::error_code &code, const char *message) |
Definition at line 26 of file Exception.hpp.
|
inlineexplicit |
Definition at line 27 of file Exception.hpp.
|
inline |
Definition at line 31 of file Exception.hpp.
|
overridedefault |