userver: clients::http::BaseCodeException Class Reference
Loading...
Searching...
No Matches
clients::http::BaseCodeException Class Reference

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

Detailed Description

Exception with string and error_code.

Definition at line 35 of file error.hpp.

+ Inheritance diagram for clients::http::BaseCodeException:

Public Member Functions

 BaseCodeException (std::error_code ec, std::string_view message, std::string_view url, const LocalStats &stats)
 
const std::error_code & error_code () const noexcept
 
const char * what () const noexcept override
 
ErrorKind GetErrorKind () const
 
const LocalStatsGetStats () const
 

Member Function Documentation

◆ error_code()

const std::error_code & clients::http::BaseCodeException::error_code ( ) const
inlinenoexcept

Definition at line 40 of file error.hpp.

◆ GetErrorKind()

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

Definition at line 24 of file error.hpp.

◆ GetStats()

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

Definition at line 26 of file error.hpp.

◆ what()

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

Definition at line 22 of file error.hpp.


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