unilink  0.4.3
A simple C++ library for unified async communication
unilink::diagnostics::ConnectionException Class Reference

Exception thrown during connection operations. More...

#include <exceptions.hpp>

Inheritance diagram for unilink::diagnostics::ConnectionException:
unilink::diagnostics::UnilinkException

Public Member Functions

 ConnectionException (const std::string &message, const std::string &connection_type="", const std::string &operation="")
 
const std::string & get_connection_type () const noexcept
 
std::string get_full_message () const
 

Detailed Description

Exception thrown during connection operations.

Indicates errors that occur during network or serial connection establishment, maintenance, or teardown.

Definition at line 146 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ ConnectionException()

unilink::diagnostics::ConnectionException::ConnectionException ( const std::string &  message,
const std::string &  connection_type = "",
const std::string &  operation = "" 
)
inlineexplicit

Definition at line 148 of file exceptions.hpp.

Member Function Documentation

◆ get_connection_type()

const std::string& unilink::diagnostics::ConnectionException::get_connection_type ( ) const
inlinenoexcept

Definition at line 152 of file exceptions.hpp.

◆ get_full_message()

std::string unilink::diagnostics::ConnectionException::get_full_message ( ) const
inline

Definition at line 154 of file exceptions.hpp.


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