userver: userver/clients/http/error.hpp File Reference
Loading...
Searching...
No Matches
error.hpp File Reference

Detailed Description

HTTP client exception types.

Definition in file error.hpp.

Go to the source code of this file.

#include <exception>
#include <string>
#include <string_view>
#include <system_error>
#include <userver/clients/http/error_kind.hpp>
#include <userver/clients/http/local_stats.hpp>
+ This graph shows which files directly or indirectly include this file:

Classes

class  clients::http::BaseException
 Exception with string. More...
 
class  clients::http::BaseCodeException
 Exception with string and error_code. More...
 
class  clients::http::TimeoutException
 
class  clients::http::CancelException
 
class  clients::http::SSLException
 
class  clients::http::TechnicalError
 
class  clients::http::BadArgumentException
 
class  clients::http::TooManyRedirectsException
 
class  clients::http::NetworkProblemException
 
class  clients::http::DNSProblemException
 
class  clients::http::AuthFailedException
 
class  clients::http::HttpException
 Base class for HttpClientException and HttpServerException. More...
 
class  clients::http::HttpClientException
 
class  clients::http::HttpServerException
 

Namespaces

namespace  clients::http
 HTTP client helpers.
 

Functions

std::exception_ptr clients::http::PrepareException (std::error_code ec, std::string_view url, const LocalStats &stats)
 map error_code to exceptions