Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | List of all members
toolbox::http::Exception Struct Reference

#include <toolbox/http/Exception.hpp>

Inheritance diagram for toolbox::http::Exception:
Inheritance graph
[legend]
Collaboration diagram for toolbox::http::Exception:
Collaboration graph
[legend]

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
 
Exceptionoperator= (const Exception &)=default
 
 Exception (Exception &&) noexcept=default
 
Exceptionoperator= (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)
 

Detailed Description

Definition at line 26 of file Exception.hpp.

Constructor & Destructor Documentation

◆ Exception() [1/2]

toolbox::http::Exception::Exception ( Status  status)
inlineexplicit

Definition at line 27 of file Exception.hpp.

◆ Exception() [2/2]

toolbox::http::Exception::Exception ( Status  status,
std::string_view  what 
)
inline

Definition at line 31 of file Exception.hpp.

◆ ~Exception()

toolbox::http::Exception::~Exception ( )
overridedefault

The documentation for this struct was generated from the following files: