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 103 of file error.hpp.

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

Public Member Functions

 HttpException (int code, const LocalStats &stats, std::string_view message, ErrorKind error_kind)
 
int code () const
 
const char * what () const noexcept override
 
ErrorKind GetErrorKind () const
 
const LocalStatsGetStats () const
 

Member Function Documentation

◆ code()

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

Definition at line 109 of file error.hpp.

◆ GetErrorKind()

ErrorKind clients::http::BaseException::GetErrorKind ( ) const
inlineinherited

Definition at line 25 of file error.hpp.

◆ GetStats()

const LocalStats & clients::http::BaseException::GetStats ( ) const
inlineinherited

Definition at line 27 of file error.hpp.

◆ what()

const char * clients::http::BaseException::what ( ) const
inlineoverridenoexceptinherited

Definition at line 23 of file error.hpp.


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