userver: clients::http::HttpException Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
clients::http::HttpException Class Reference

#include <userver/clients/http/error.hpp>

Detailed Description

Base class for HttpClientException and HttpServerException.

Definition at line 99 of file error.hpp.

+ Inheritance diagram for clients::http::HttpException:
+ Collaboration diagram for clients::http::HttpException:

Public Member Functions

 HttpException (int code, const LocalStats &stats)
 
 HttpException (int code, const LocalStats &stats, std::string_view message)
 
int code () const
 
- Public Member Functions inherited from clients::http::BaseException
 BaseException (std::string message, const LocalStats &stats)
 
const char * what () const noexcept override
 
const LocalStatsGetStats () const
 

Member Function Documentation

◆ code()

int clients::http::HttpException::code ( ) const
inline

Definition at line 105 of file error.hpp.


The documentation for this class was generated from the following file: