userver: clients::http::HttpException Class Reference
Loading...
Searching...
No Matches
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: