5#include <boost/system/system_error.hpp>
21 std::variant<boost::system::error_code, std::string>
error;
27 template <
typename StreamT>
31 [&stream](
auto const& error) {
42 std::stringstream sstr;
Definition authorization.hpp:10
StreamT & operator<<(StreamT &stream, Error error)
Definition error.hpp:28
Holds errors that are produced asynchronously anywhere.
Definition error.hpp:20
std::string toString() const
Definition error.hpp:40
std::variant< boost::system::error_code, std::string > error
Definition error.hpp:21
std::string_view additionalInfo
Definition error.hpp:22