userver: storages::postgres::ConnectionFailed 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
storages::postgres::ConnectionFailed Class Reference

Exception is thrown when a single connection fails to connect. More...

#include <userver/storages/postgres/exceptions.hpp>

+ Inheritance diagram for storages::postgres::ConnectionFailed:
+ Collaboration diagram for storages::postgres::ConnectionFailed:

Public Member Functions

 ConnectionFailed (const Dsn &dsn)
 
 ConnectionFailed (const Dsn &dsn, std::string_view message)
 

Detailed Description

Exception is thrown when a single connection fails to connect.

Definition at line 217 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ ConnectionFailed() [1/2]

storages::postgres::ConnectionFailed::ConnectionFailed ( const Dsn dsn)
inlineexplicit

Definition at line 219 of file exceptions.hpp.

◆ ConnectionFailed() [2/2]

storages::postgres::ConnectionFailed::ConnectionFailed ( const Dsn dsn,
std::string_view  message 
)
inline

Definition at line 222 of file exceptions.hpp.


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