Zappy GUI
C++ graphic client: renderer, camera, network
Loading...
Searching...
No Matches
TcpException Class Reference

Exception class for TCP errors. More...

#include <TcpSocket.hpp>

+ Inheritance diagram for TcpException:
+ Collaboration diagram for TcpException:

Public Member Functions

 TcpException (const std::string &message)
 
const char * what () const noexcept override
 

Private Attributes

std::string _message
 

Detailed Description

Exception class for TCP errors.

Definition at line 10 of file TcpSocket.hpp.

Constructor & Destructor Documentation

◆ TcpException()

TcpException::TcpException ( const std::string &  message)
inline

Definition at line 12 of file TcpSocket.hpp.

Member Function Documentation

◆ what()

const char * TcpException::what ( ) const
inlineoverridenoexcept

Definition at line 13 of file TcpSocket.hpp.

References _message.

Referenced by App::_connectWithRetry(), and App::run().

+ Here is the caller graph for this function:

Member Data Documentation

◆ _message

std::string TcpException::_message
private

Definition at line 16 of file TcpSocket.hpp.

Referenced by what().


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