userver: clients::http::BaseCodeException 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::BaseCodeException Class Reference

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

Detailed Description

Exception with string and error_code.

Definition at line 32 of file error.hpp.

+ Inheritance diagram for clients::http::BaseCodeException:
+ Collaboration 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
 
- 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

◆ error_code()

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

Definition at line 38 of file error.hpp.


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